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 --- hosts/tiamat/default.nix | 49 ++++++++--------------------------------------- hosts/tiamat/hardware.nix | 7 ------- 2 files changed, 8 insertions(+), 48 deletions(-) (limited to 'hosts/tiamat') diff --git a/hosts/tiamat/default.nix b/hosts/tiamat/default.nix index 6e72ccca..b679ec62 100644 --- a/hosts/tiamat/default.nix +++ b/hosts/tiamat/default.nix @@ -4,65 +4,32 @@ ]; soispha = { - boot.enable = true; - cleanup.enable = true; - documentation.enable = true; - fonts = { - enable = true; - enableEmoji = true; - }; - home-manager.enable = true; - impermanence.enable = true; - + bluetooth = {enable = true;}; networking = { enable = true; - mode = "systemd-networkd"; hostName = "tiamat"; + mode = "systemd-networkd"; }; - bluetooth = { - enable = true; - }; - - polkit.enable = true; - power.enable = true; - secrets.enable = true; - sound.enable = true; - tempfiles.enable = true; - users = { - enable = true; - enableDeprecatedPlugdev = true; - hashedPassword = "$y$jFT$qi3wS9njrMl2y55b3NOBI0$j40Qt6AAkMSfZ82KPhqMaUaPztWtPps1wOqaXaF/L.6"; - }; - version.enable = true; nixpkgs = { enable = true; systemName = "x86_64-linux"; }; - services = { - adb = { - enable = true; - user = "soispha"; - }; backup = { - enable = true; backupDiskUuid = "c06ce163-2955-4388-b212-dfec4448fcf4"; + enable = true; }; - fwupd.enable = true; - postgresql.enable = false; - printing.enable = true; - scanning.enable = true; - snapper.enable = true; - - steam.enable = false; - systemDiff.enable = true; }; locale = { enable = true; keyMap = "us"; }; + users = { + enable = true; + enableDeprecatedPlugdev = true; + hashedPassword = "$y$jFT$qi3wS9njrMl2y55b3NOBI0$j40Qt6AAkMSfZ82KPhqMaUaPztWtPps1wOqaXaF/L.6"; + }; }; - networking.hostName = "tiamat"; system.stateVersion = "23.05"; } diff --git a/hosts/tiamat/hardware.nix b/hosts/tiamat/hardware.nix index 8ecb4ce0..97600848 100644 --- a/hosts/tiamat/hardware.nix +++ b/hosts/tiamat/hardware.nix @@ -3,13 +3,6 @@ (modulesPath + "/installer/scan/not-detected.nix") # TODO: is this necessary? ]; - hardware = { - bluetooth = { - enable = true; - powerOnBoot = true; - }; - }; - soispha = { hardware = { enable = true; -- cgit 1.4.1