From 2e8e66dca62a2476dadfa5b67a3dd71f8a387789 Mon Sep 17 00:00:00 2001 From: coolneng Date: Thu, 25 May 2023 11:57:28 +0200 Subject: [PATCH] Update hardware-configuration --- modules/hardware-configuration.nix | 150 ++++++++++++++--------------- 1 file changed, 74 insertions(+), 76 deletions(-) diff --git a/modules/hardware-configuration.nix b/modules/hardware-configuration.nix index dbd811e..3758176 100644 --- a/modules/hardware-configuration.nix +++ b/modules/hardware-configuration.nix @@ -4,105 +4,103 @@ { config, lib, pkgs, modulesPath, ... }: { - imports = - [ (modulesPath + "/installer/scan/not-detected.nix") - ]; + imports = [ (modulesPath + "/installer/scan/not-detected.nix") ]; boot.initrd.availableKernelModules = [ "xhci_pci" ]; boot.initrd.kernelModules = [ ]; boot.kernelModules = [ ]; boot.extraModulePackages = [ ]; - fileSystems."/" = - { device = "/dev/disk/by-uuid/44444444-4444-4444-8888-888888888888"; - fsType = "ext4"; - }; + fileSystems."/" = { + device = "/dev/disk/by-uuid/44444444-4444-4444-8888-888888888888"; + fsType = "ext4"; + }; - fileSystems."/boot" = - { device = "/dev/disk/by-uuid/2178-694E"; - fsType = "vfat"; - }; + fileSystems."/boot" = { + device = "/dev/disk/by-uuid/2178-694E"; + fsType = "vfat"; + }; - fileSystems."/var/lib/matrix-as-facebook" = - { device = "vault/state_directories/matrix-as-facebook"; - fsType = "zfs"; - }; + fileSystems."/var/lib/prometheus2" = { + device = "vault/state_directories/prometheus"; + fsType = "zfs"; + }; - fileSystems."/var/lib/gitea" = - { device = "vault/state_directories/gitea"; - fsType = "zfs"; - }; + fileSystems."/var/lib/gitea" = { + device = "vault/state_directories/gitea"; + fsType = "zfs"; + }; - fileSystems."/var/lib/matrix-as-signal" = - { device = "vault/state_directories/matrix-as-signal"; - fsType = "zfs"; - }; + fileSystems."/var/lib/matrix-as-facebook" = { + device = "vault/state_directories/matrix-as-facebook"; + fsType = "zfs"; + }; - fileSystems."/var/lib/signald" = - { device = "vault/state_directories/signald"; - fsType = "zfs"; - }; + fileSystems."/var/lib/signald" = { + device = "vault/state_directories/signald"; + fsType = "zfs"; + }; - fileSystems."/var/lib/wallabag" = - { device = "vault/state_directories/wallabag"; - fsType = "zfs"; - }; + fileSystems."/var/lib/matrix-as-signal" = { + device = "vault/state_directories/matrix-as-signal"; + fsType = "zfs"; + }; - fileSystems."/var/lib/matrix-as-telegram" = - { device = "vault/state_directories/matrix-as-telegram"; - fsType = "zfs"; - }; + fileSystems."/vault" = { + device = "vault"; + fsType = "zfs"; + }; - fileSystems."/vault" = - { device = "vault"; - fsType = "zfs"; - }; + fileSystems."/var/lib/matrix-as-telegram" = { + device = "vault/state_directories/matrix-as-telegram"; + fsType = "zfs"; + }; - fileSystems."/vault/backups" = - { device = "vault/backups"; - fsType = "zfs"; - }; + fileSystems."/vault/backups" = { + device = "vault/backups"; + fsType = "zfs"; + }; - fileSystems."/vault/radicale" = - { device = "vault/radicale"; - fsType = "zfs"; - }; + fileSystems."/vault/mosquitto" = { + device = "vault/mosquitto"; + fsType = "zfs"; + }; - fileSystems."/vault/syncthing" = - { device = "vault/syncthing"; - fsType = "zfs"; - }; + fileSystems."/vault/radicale" = { + device = "vault/radicale"; + fsType = "zfs"; + }; - fileSystems."/vault/backups/zion" = - { device = "vault/backups/zion"; - fsType = "zfs"; - }; + fileSystems."/vault/git" = { + device = "vault/git"; + fsType = "zfs"; + }; - fileSystems."/vault/backups/monolith" = - { device = "vault/backups/monolith"; - fsType = "zfs"; - }; + fileSystems."/vault/syncthing" = { + device = "vault/syncthing"; + fsType = "zfs"; + }; - fileSystems."/vault/mosquitto" = - { device = "vault/mosquitto"; - fsType = "zfs"; - }; + fileSystems."/vault/backups/zion" = { + device = "vault/backups/zion"; + fsType = "zfs"; + }; - fileSystems."/vault/git" = - { device = "vault/git"; - fsType = "zfs"; - }; + fileSystems."/vault/backups/monolith" = { + device = "vault/backups/monolith"; + fsType = "zfs"; + }; - fileSystems."/var/lib/containers/storage/overlay" = - { device = "/var/lib/containers/storage/overlay"; - fsType = "none"; - options = [ "bind" ]; - }; + fileSystems."/var/lib/wallabag" = { + device = "vault/state_directories/wallabag"; + fsType = "zfs"; + }; - fileSystems."/var/lib/prometheus2" = - { device = "vault/state_directories/prometheus"; - fsType = "zfs"; - }; + fileSystems."/var/lib/containers/storage/overlay" = { + device = "/var/lib/containers/storage/overlay"; + fsType = "none"; + options = [ "bind" ]; + }; swapDevices = [ ];