From 64aa355a5882a4c088e8de455edb6cd2eec2213c Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Fri, 24 May 2024 13:55:24 +0200 Subject: refactor(hosts/apzu): Use new modules --- hosts/apzu/default.nix | 48 ++++++++++++++++++++++++++++++++++++++++-------- 1 file changed, 40 insertions(+), 8 deletions(-) (limited to 'hosts/apzu/default.nix') diff --git a/hosts/apzu/default.nix b/hosts/apzu/default.nix index b45987cf..5b3d23f8 100644 --- a/hosts/apzu/default.nix +++ b/hosts/apzu/default.nix @@ -1,27 +1,59 @@ {...}: { imports = [ - ./hardware - ./networking.nix - - ../../sys + ./hardware.nix ]; soispha = { - services.steam = { - enable = false; + boot.enable = true; + cleanup.enable = true; + documentation.enable = true; + fonts = { + enable = true; + enableEmoji = true; }; + home-manager.enable = true; + impermanence.enable = true; laptop = { enable = true; backlight = "intel_backlight"; }; locale.enable = true; - fs.backup = { + networking = { + enable = true; + mode = "NetworkManager"; + hostName = "apzu"; + }; + nixpkgs = { enable = true; - backupDiskUuid = "d1c6e0f6-1837-40fd-bb29-251d5ea0ddb0"; + systemName = "x86_64-linux"; + }; + polkit.enable = true; + power.enable = true; + secrets.enable = true; + services = { + adb = { + enable = true; + user = "soispha"; + }; + backup = { + enable = true; + backupDiskUuid = "d1c6e0f6-1837-40fd-bb29-251d5ea0ddb0"; + }; + fwupd.enable = true; + postgresql.enable = false; + printing.enable = true; + scanning.enable = true; + snapper.enable = true; + steam.enable = false; }; + sound.enable = true; + tempfiles.enable = true; users = { + enable = true; + enableDeprecatedPlugdev = true; hashedPassword = "$y$jFT$3qI9MYLDHPUdGKsVa8skV0$TOjX0SFHWuj52zd7/kmkNtG5EqQwYcqv0FKXWbLaro6"; }; + version.enable = true; }; system.stateVersion = "23.05"; -- cgit 1.4.1