Refactor nix experimental-features to use on home and system side
All checks were successful
check / check (push) Successful in 33s
All checks were successful
check / check (push) Successful in 33s
This commit is contained in:
parent
9ed4324c52
commit
a1aa8f0b25
3 changed files with 10 additions and 1 deletions
5
modules/common.nix
Normal file
5
modules/common.nix
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
{ ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||||
|
}
|
|
@ -2,6 +2,7 @@
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
|
../common.nix
|
||||||
./apps
|
./apps
|
||||||
./desktop
|
./desktop
|
||||||
./shell
|
./shell
|
||||||
|
@ -15,6 +16,5 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.home-manager.enable = true;
|
programs.home-manager.enable = true;
|
||||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,10 @@
|
||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
|
imports = [
|
||||||
|
../common.nix
|
||||||
|
];
|
||||||
|
|
||||||
# Set your time zone.
|
# Set your time zone.
|
||||||
time.timeZone = "Europe/Paris";
|
time.timeZone = "Europe/Paris";
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue