Mutualize configuration for roaming machines

This commit is contained in:
Quentin Boyer 2023-03-26 17:17:20 +02:00
parent f647f8fafb
commit 5f7db10995
3 changed files with 7 additions and 4 deletions

View file

@ -103,6 +103,7 @@
};
personal-cli = import ./personal-cli/nixos.nix;
personal-gui = import ./personal-gui/nixos.nix;
roaming = import ./roaming/nixos.nix;
};
overlays.x86_64-linux = final: prev: pkgList "x86_64-linux" prev.callPackage;

View file

@ -12,7 +12,7 @@
./pkg.nix
#./home.nix
./localcfg.nix
./cachix.nix
./cachix.nix
];
# The global useDHCP flag is deprecated, therefore explicitly set to false here.
@ -22,10 +22,7 @@
security.rtkit.enable = true;
services = {
tzupdate.enable = true;
privoxy.enable = true;
localtimed.enable = true;
geoclue2.enable = true;
postgresql = {
enable = true;
};

5
roaming/nixos.nix Normal file
View file

@ -0,0 +1,5 @@
{
services.tzupdate.enable = true;
services.localtimed.enable = true;
services.geoclue2.enable = true;
}