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";
|
system = "x86_64-linux";
|
||||||
|
|
||||||
commonModules = hostname: [
|
commonModules = hostname: [
|
||||||
|
./modules/sops.nix
|
||||||
|
./modules/system.nix
|
||||||
|
./modules/gnome.nix
|
||||||
|
./modules/syncthing
|
||||||
|
./modules/stylix.nix
|
||||||
./hosts/${hostname}
|
./hosts/${hostname}
|
||||||
sops-nix.nixosModules.sops
|
sops-nix.nixosModules.sops
|
||||||
stylix.nixosModules.stylix
|
stylix.nixosModules.stylix
|
||||||
|
|
|
@ -3,11 +3,6 @@
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
../../modules/sops.nix
|
|
||||||
../../modules/system.nix
|
|
||||||
../../modules/gnome.nix
|
|
||||||
../../modules/syncthing
|
|
||||||
../../modules/stylix.nix
|
|
||||||
];
|
];
|
||||||
|
|
||||||
services.xserver.videoDrivers = ["nvidia"];
|
services.xserver.videoDrivers = ["nvidia"];
|
||||||
|
|
|
@ -3,11 +3,6 @@
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
../../modules/sops.nix
|
|
||||||
../../modules/system.nix
|
|
||||||
../../modules/gnome.nix
|
|
||||||
../../modules/syncthing
|
|
||||||
../../modules/stylix.nix
|
|
||||||
];
|
];
|
||||||
|
|
||||||
services.fprintd.enable = true;
|
services.fprintd.enable = true;
|
||||||
|
|
Loading…
Reference in a new issue