moved ratchet to zfs and added cups

This commit is contained in:
yaroslav
2025-09-21 15:18:26 +03:00
parent 77b7c4b8bc
commit 5ee1c5cdd9
3 changed files with 15 additions and 7 deletions
+1
View File
@@ -43,6 +43,7 @@
./hosts/Ratchet/hardware-Ratchet.nix ./hosts/Ratchet/hardware-Ratchet.nix
./hosts/Ratchet/fingerprint.nix ./hosts/Ratchet/fingerprint.nix
./hosts/generic/persistence.nix ./hosts/generic/persistence.nix
./hosts/generic/cups.nix
./desktop/kde.nix ./desktop/kde.nix
./hosts/generic/unfree_allow.nix ./hosts/generic/unfree_allow.nix
./hosts/generic/virtualization.nix ./hosts/generic/virtualization.nix
+5 -7
View File
@@ -20,19 +20,17 @@
options = ["defaults" "size=1G" "mode=755"]; options = ["defaults" "size=1G" "mode=755"];
}; };
fileSystems."/nix" = fileSystems."/nix" =
{ device = "/dev/disk/by-uuid/067a8472-18d0-49d4-961d-dbe07d8cc1a7"; { device = "ratchet-zfs/root/nix";
fsType = "btrfs"; fsType = "zfs";
options = [ "subvol=@nix" "compress=zstd"];
}; };
fileSystems."/home" = fileSystems."/home" =
{ device = "/dev/disk/by-uuid/067a8472-18d0-49d4-961d-dbe07d8cc1a7"; { device = "ratchet-zfs/root/home";
fsType = "btrfs"; fsType = "zfs";
options = [ "subvol=@home" "compress=zstd"];
}; };
fileSystems."/boot" = fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/67E3-17ED"; { device = "/dev/nvme0n1p5";
fsType = "vfat"; fsType = "vfat";
options = [ "fmask=0022" "dmask=0022" ]; options = [ "fmask=0022" "dmask=0022" ];
}; };
+9
View File
@@ -0,0 +1,9 @@
{ ... }:
{
services.printing.enable = true;
services.avahi = {
enable = true;
nssmdns4 = true;
openFirewall = true;
};
}