summaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
authorGrisha Shipunov2025-01-02 17:31:27 +0100
committerGrisha Shipunov2025-01-02 17:31:27 +0100
commit3de1ca400cc6f2de7ec6b8ecbbf44be130649ef6 (patch)
tree180c9f366be91d322147e3b3f3028af3dc1dfd84 /hosts
parentc1e09364bb412f1e09d1a680e5200d375a61694f (diff)
fix zfs config
Diffstat (limited to 'hosts')
-rw-r--r--hosts/toaster/default.nix1
-rw-r--r--hosts/toaster/zfs.nix4
2 files changed, 3 insertions, 2 deletions
diff --git a/hosts/toaster/default.nix b/hosts/toaster/default.nix
index 3cd352d..28f2fbd 100644
--- a/hosts/toaster/default.nix
+++ b/hosts/toaster/default.nix
@@ -50,6 +50,7 @@
# factorio
element-desktop
discord
+ spotify
];
services.emacs.defaultEditor = false;
diff --git a/hosts/toaster/zfs.nix b/hosts/toaster/zfs.nix
index b14d910..9a8b5aa 100644
--- a/hosts/toaster/zfs.nix
+++ b/hosts/toaster/zfs.nix
@@ -5,12 +5,12 @@
trim.enable = true;
autoScrub = {
enable = true;
- pools = [ "toasterpool" ];
+ pools = [ "zpool" ];
};
};
networking.hostId = "dca22577";
boot = {
- kernelPackages = let
+ kernelPackages = let
zfsCompatibleKernelPackages = lib.filterAttrs (
name: kernelPackages:
(builtins.match "linux_[0-9]+_[0-9]+" name) != null