From b83147b16b210f7cd8d6797db3be36227438a5cd Mon Sep 17 00:00:00 2001 From: Sam Date: Sat, 18 May 2024 14:51:03 +0100 Subject: [PATCH] xdg dirs --- home/users/media/default.nix | 6 ++++++ hosts/sparky/default.nix | 11 +++++++++++ 2 files changed, 17 insertions(+) diff --git a/home/users/media/default.nix b/home/users/media/default.nix index 6100c2a..c252e53 100644 --- a/home/users/media/default.nix +++ b/home/users/media/default.nix @@ -9,6 +9,12 @@ inputs.impermanence.nixosModules.home-manager.impermanence ] ++ (builtins.attrValues outputs.homeManagerModules); # import all homeManagerModules? + xdg.userDirs = { + enable = true; + createDirectories = true; + desktop = "${config.home.homeDirectory}/Desktop"; + }; + home.packages = [ ]; diff --git a/hosts/sparky/default.nix b/hosts/sparky/default.nix index f10dc71..67632a9 100644 --- a/hosts/sparky/default.nix +++ b/hosts/sparky/default.nix @@ -18,6 +18,17 @@ ]; + nixpkgs = { + overlays = [ + outputs.overlays.additions + outputs.overlays.modifications + outputs.overlays.unstable-packages + ]; + config = { + allowUnfree = true; + }; + }; + nixpkgs = { overlays = [ outputs.overlays.additions