From 04872f6ec51908e997408436300bcd3a3b52f8cd Mon Sep 17 00:00:00 2001 From: oddlama Date: Sun, 25 Jun 2023 22:59:13 +0200 Subject: [PATCH] chore: clean up old nom config --- hosts/common/core/system.nix | 1 + hosts/nom/default.nix | 2 +- hosts/nom/disko.nix | 94 -------------------------------- hosts/nom/secrets/local.nix.age | Bin 616 -> 751 bytes 4 files changed, 2 insertions(+), 95 deletions(-) delete mode 100644 hosts/nom/disko.nix diff --git a/hosts/common/core/system.nix b/hosts/common/core/system.nix index fa98a37..1c66acc 100644 --- a/hosts/common/core/system.nix +++ b/hosts/common/core/system.nix @@ -437,5 +437,6 @@ oauth2_proxy = uidGid 987; influxdb2 = uidGid 986; telegraf = uidGid 985; + rtkit = uidGid 984; }; } diff --git a/hosts/nom/default.nix b/hosts/nom/default.nix index 077bc29..8358712 100644 --- a/hosts/nom/default.nix +++ b/hosts/nom/default.nix @@ -18,7 +18,7 @@ ../common/efi.nix ../common/initrd-ssh.nix ../common/laptop.nix - ../common/sound.nix + # ../common/sound.nix ../common/yubikey.nix ../common/zfs.nix diff --git a/hosts/nom/disko.nix b/hosts/nom/disko.nix deleted file mode 100644 index 4f9d39c..0000000 --- a/hosts/nom/disko.nix +++ /dev/null @@ -1,94 +0,0 @@ -# TODO subject for deletion (moves into fs.nix like for ward) -{ - nom = { - disk = { - "Intenso_SSD_3833430-532201046" = { - type = "disk"; - device = "/dev/disk/by-id/ata-Intenso_SSD_3833430-532201046"; - content = { - type = "table"; - format = "gpt"; - partitions = [ - { - type = "partition"; - name = "efi"; - start = "2048"; - end = "8GiB"; - fs-type = "fat32"; - content = { - type = "filesystem"; - format = "vfat"; - mountpoint = "/boot"; - }; - } - { - type = "partition"; - name = "swap"; - start = "8GiB"; - end = "100%"; - content = { - type = "swap"; - randomEncryption = true; - }; - } - ]; - }; - }; - "Samsung_SSD_980_PRO_1TB_S5GXNX1T325329W" = { - type = "disk"; - device = "/dev/disk/by-id/nvme-Samsung_SSD_980_PRO_1TB_S5GXNX1T325329W"; - content = { - type = "zfs"; - pool = "rpool"; - }; - }; - }; - zpool = { - rpool = { - type = "zpool"; - mode = "mirror"; - rootFsOptions = { - compression = "zstd"; - acltype = "posix"; - atime = "off"; - xattr = "sa"; - dnodesize = "auto"; - mountpoint = "none"; - canmount = "off"; - devices = "off"; - encryption = "aes-256-gcm"; - keyformat = "passphrase"; - keylocation = "prompt"; - "autobackup:snap" = "true"; - "autobackup:home" = "true"; - }; - options = { - ashift = "12"; - bootfs = "rpool/root/nixos"; - }; - datasets = { - "root" = { - zfs_type = "filesystem"; - }; - "root/nixos" = { - zfs_type = "filesystem"; - options = { - canmount = "on"; - mountpoint = "/"; - }; - }; - "home" = { - zfs_type = "filesystem"; - }; - "home/root" = { - zfs_type = "filesystem"; - options = { - canmount = "on"; - mountpoint = "/root"; - }; - }; - }; - }; - }; - }; -} diff --git a/hosts/nom/secrets/local.nix.age b/hosts/nom/secrets/local.nix.age index 0972f71d68512b71533771825ad74d6f8ee98a66..8b1ed2bea46ae8568004039f49a2be67e0b680c9 100644 GIT binary patch delta 731 zcmV<10wn$D1n&iqAb&DRRz@#pG}c zP;+@!X9`I~Zc|J-G(js=LRe8nF*h_&Idy7UGMZB}S(UaWOV9Nk~doc1T59Zc}A>X-q3iVp45-Rzi6} zWO8R@Mqy8FL1|E0N_S~jHVQ2*Eg(l@aavhsbZ%&Faeq^1cuPTUW;0q(O;Rs3VQ^3@ zGB<5CWM)!EZ%TP56M zX)p>cJ|K59EoX9NVRL05A!r~dL_$R?AS-((Vs=mpSYdWFa4=F&b$3Z?VRLvmRcdQO zW;IbUHZN#vS${D>Mrt!tH8e_eYI<*HQa5X2MrBKDX+(N@M=N1Xb9Q!2MhaDUMO92u zOjJomYDr{SGf7WGMMzIoG-Wa}No!eQM@d9>S9oV?H%)0dcsNr{S2-|gdNNZpPh@mO zGzu*(Eg*SEO)qv#ZZTnFK{Q50S21jOXHR5rLRD;VaDPN_PDwLHL3&|Yb8|F$IaLY| zW8&C>;CITN{$926qaWEeH7m^g8}8gsMeeW2j({H?DrL?Pg?==NiLnM`HK^^;?w+DM zQ+4A4r{Q5&(*C;JIREaUO=DGdvpdgX h;#R`nJan+`omPHpCy}}sOCLoW+lIE&rY@l|l=ip4