diff options
Diffstat (limited to 'flake/nixosConfigurations')
-rw-r--r-- | flake/nixosConfigurations/common.nix | 43 | ||||
-rw-r--r-- | flake/nixosConfigurations/default.nix | 1 |
2 files changed, 44 insertions, 0 deletions
diff --git a/flake/nixosConfigurations/common.nix b/flake/nixosConfigurations/common.nix new file mode 100644 index 00000000..fce2c6a1 --- /dev/null +++ b/flake/nixosConfigurations/common.nix @@ -0,0 +1,43 @@ +# This file contains common configuration applied to every host. +# It should only `enable` options defined in the `modules` directory. +{...}: { + soispha = { + boot.enable = true; + cleanup.enable = true; + documentation.enable = true; + + fonts = { + enable = true; + enableEmoji = true; + }; + + home-manager.enable = true; + impermanence.enable = true; + polkit.enable = true; + power.enable = true; + secrets.enable = true; + + services = { + adb = { + enable = true; + user = "soispha"; + }; + fwupd.enable = true; + postgresql.enable = false; + printing.enable = true; + scanning.enable = true; + snapper.enable = true; + steam.enable = false; + systemDiff.enable = true; + }; + + programs = { + imv.enable = true; + zathura.enable = true; + }; + + sound.enable = true; + tempfiles.enable = true; + version.enable = true; + }; +} diff --git a/flake/nixosConfigurations/default.nix b/flake/nixosConfigurations/default.nix index c4353d5f..564d2535 100644 --- a/flake/nixosConfigurations/default.nix +++ b/flake/nixosConfigurations/default.nix @@ -36,6 +36,7 @@ serverphone.nixosModules.default ../../modules + ./common.nix ]; specialArgs = { |