From a842acdc7ab73901ca1a42d994f7d40a72f20c6c Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Fri, 24 May 2024 13:56:10 +0200 Subject: fix(hosts/tiamat): Also use new services modules --- hosts/tiamat/default.nix | 34 ++++++++++++++++++---------------- 1 file changed, 18 insertions(+), 16 deletions(-) (limited to 'hosts') diff --git a/hosts/tiamat/default.nix b/hosts/tiamat/default.nix index 4b5cb992..06bca3bc 100644 --- a/hosts/tiamat/default.nix +++ b/hosts/tiamat/default.nix @@ -1,9 +1,4 @@ -{ - config, - lib, - pkgs, - ... -}: { +{...}: { imports = [ ./hardware.nix ]; @@ -21,6 +16,7 @@ networking = { enable = true; + mode = "systemd-networkd"; hostName = "tiamat"; }; @@ -40,21 +36,27 @@ systemName = "x86_64-linux"; }; - adb = { - enable = true; - user = "soispha"; - }; - services.steam = { - enable = false; + 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; }; locale = { enable = true; keyMap = "us"; }; - backup = { - enable = false; - backupDiskUuid = "d1c6e0f6-1837-40fd-bb29-251d5ea0ddb0"; - }; }; networking.hostName = "tiamat"; -- cgit 1.4.1