From c0f966510475d8d621f302c1bd70f430e589b838 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Fri, 18 Oct 2024 19:33:49 +0200 Subject: feat(hosts): Share common options --- flake/nixosConfigurations/common.nix | 43 ++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 flake/nixosConfigurations/common.nix (limited to 'flake/nixosConfigurations/common.nix') 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; + }; +} -- cgit 1.4.1