diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | flake.lock | 12 | ||||
-rw-r--r-- | home.nix | 11 | ||||
-rw-r--r-- | machines/x220-gnome/gnome.nix | 35 |
4 files changed, 53 insertions, 6 deletions
diff --git a/.gitignore b/.gitignore index 89b3a77..f805082 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ secrets.nix +nixos-switch.log diff --git a/flake.lock b/flake.lock index 92d7bc9..fa2a118 100644 --- a/flake.lock +++ b/flake.lock @@ -7,11 +7,11 @@ ] }, "locked": { - "lastModified": 1723399884, - "narHash": "sha256-97wn0ihhGqfMb8WcUgzzkM/TuAxce2Gd20A8oiruju4=", + "lastModified": 1726357542, + "narHash": "sha256-p4OrJL2weh0TRtaeu1fmNYP6+TOp/W2qdaIJxxQay4c=", "owner": "nix-community", "repo": "home-manager", - "rev": "086f619dd991a4d355c07837448244029fc2d9ab", + "rev": "e524c57b1fa55d6ca9d8354c6ce1e538d2a1f47f", "type": "github" }, "original": { @@ -22,11 +22,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1719426051, - "narHash": "sha256-yJL9VYQhaRM7xs0M867ZFxwaONB9T2Q4LnGo1WovuR4=", + "lastModified": 1726320982, + "narHash": "sha256-RuVXUwcYwaUeks6h3OLrEmg14z9aFXdWppTWPMTwdQw=", "owner": "nixos", "repo": "nixpkgs", - "rev": "89c49874fb15f4124bf71ca5f42a04f2ee5825fd", + "rev": "8f7492cce28977fbf8bd12c72af08b1f6c7c3e49", "type": "github" }, "original": { diff --git a/home.nix b/home.nix index 1ab3a6b..4de6e66 100644 --- a/home.nix +++ b/home.nix @@ -29,6 +29,16 @@ in home.username = "pn"; home.homeDirectory = "/home/pn"; + xdg.userDirs = { + enable = true; + documents = "${config.home.homeDirectory}/docs"; + download = "${config.home.homeDirectory}/dwn"; + music = "${config.home.homeDirectory}/music"; + pictures = "${config.home.homeDirectory}/pics"; + videos = "${config.home.homeDirectory}/vids"; + templates = "${config.home.homeDirectory}/templates"; + }; + imports = [ # Platform specific config # ./programs/zsh @@ -40,6 +50,7 @@ in ] ++ platformSetup; home.packages = with pkgs; [ + whatsapp-for-linux # wywozik # Basic #slop diff --git a/machines/x220-gnome/gnome.nix b/machines/x220-gnome/gnome.nix index e0d5f7c..37de755 100644 --- a/machines/x220-gnome/gnome.nix +++ b/machines/x220-gnome/gnome.nix @@ -61,8 +61,43 @@ environment.systemPackages = with pkgs; [ libnotify + gnome.gnome-boxes + gnome.file-roller brave + newsflash + spotify + fragments ]; +# Wallpaper + + nixpkgs.overlays = [ + (self: super: { + gnome = super.gnome.overrideScope' (selfg: superg: { + gnome-shell = superg.gnome-shell.overrideAttrs (old: { + patches = (old.patches or []) ++ [ + (let + bg = pkgs.fetchurl { + url = "https://unsplash.com/photos/fzYFRJREmnQ/download?ixid=M3wxMjA3fDB8MXxzZWFyY2h8MTV8fHBvbGlzaCUyMG1vdW50YWluc3xlbnwwfHx8fDE3MjY0MjkwOTd8MA&force=true&h=1080"; + sha256 = "sha256-4vK8x7bSm2DogBqb494MondL1q0Q549zc0EgNc33XmQ="; + }; + in pkgs.writeText "bg.patch" '' + --- a/data/theme/gnome-shell-sass/widgets/_login-lock.scss + +++ b/data/theme/gnome-shell-sass/widgets/_login-lock.scss + @@ -15,4 +15,5 @@ $_gdm_dialog_width: 23em; + /* Login Dialog */ + .login-dialog { + background-color: $_gdm_bg; + + background-image: url('file://${bg}'); + } + '') + ]; + }); + }); + }) + ]; + + nixpkgs.config.allowUnfree = true; + documentation.nixos.enable = false; } |