Refactor nix experimental-features to use on home and system side
All checks were successful
check / check (push) Successful in 33s

This commit is contained in:
Florian RICHER 2024-08-15 22:00:29 +02:00
parent 9ed4324c52
commit a1aa8f0b25
Signed by: florian.richer
GPG key ID: C73D37CBED7BFC77
3 changed files with 10 additions and 1 deletions

5
modules/common.nix Normal file
View file

@ -0,0 +1,5 @@
{ ... }:
{
nix.settings.experimental-features = [ "nix-command" "flakes" ];
}

View file

@ -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" ];
}

View file

@ -1,6 +1,10 @@
{ pkgs, ... }:
{
imports = [
../common.nix
];
# Set your time zone.
time.timeZone = "Europe/Paris";