move common imports to flake function
This commit is contained in:
parent
6b8f0f4f7f
commit
a4623b8af9
3 changed files with 6 additions and 11 deletions
|
@ -30,6 +30,11 @@
|
|||
system = "x86_64-linux";
|
||||
|
||||
commonModules = hostname: [
|
||||
./modules/sops.nix
|
||||
./modules/system.nix
|
||||
./modules/gnome.nix
|
||||
./modules/syncthing
|
||||
./modules/stylix.nix
|
||||
./hosts/${hostname}
|
||||
sops-nix.nixosModules.sops
|
||||
stylix.nixosModules.stylix
|
||||
|
|
|
@ -3,11 +3,6 @@
|
|||
{
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
../../modules/sops.nix
|
||||
../../modules/system.nix
|
||||
../../modules/gnome.nix
|
||||
../../modules/syncthing
|
||||
../../modules/stylix.nix
|
||||
];
|
||||
|
||||
services.xserver.videoDrivers = ["nvidia"];
|
||||
|
|
|
@ -3,11 +3,6 @@
|
|||
{
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
../../modules/sops.nix
|
||||
../../modules/system.nix
|
||||
../../modules/gnome.nix
|
||||
../../modules/syncthing
|
||||
../../modules/stylix.nix
|
||||
];
|
||||
|
||||
services.fprintd.enable = true;
|
||||
|
|
Loading…
Reference in a new issue