diff --git a/modules/common.nix b/modules/common.nix new file mode 100644 index 0000000..c7eb3e6 --- /dev/null +++ b/modules/common.nix @@ -0,0 +1,5 @@ +{ ... }: + +{ + nix.settings.experimental-features = [ "nix-command" "flakes" ]; +} \ No newline at end of file diff --git a/modules/home/default.nix b/modules/home/default.nix index 92279a8..ee5f717 100644 --- a/modules/home/default.nix +++ b/modules/home/default.nix @@ -2,6 +2,7 @@ { imports = [ + ../common.nix ./apps ./desktop ./shell @@ -15,6 +16,5 @@ }; programs.home-manager.enable = true; - nix.settings.experimental-features = [ "nix-command" "flakes" ]; } diff --git a/modules/system/common.nix b/modules/system/common.nix index 72c39a6..5838226 100644 --- a/modules/system/common.nix +++ b/modules/system/common.nix @@ -1,6 +1,10 @@ { pkgs, ... }: { + imports = [ + ../common.nix + ]; + # Set your time zone. time.timeZone = "Europe/Paris";