diff options
-rw-r--r-- | sif.nix | 5 | ||||
-rw-r--r-- | sif/boot.nix | 8 |
2 files changed, 8 insertions, 5 deletions
@@ -60,7 +60,10 @@ | |||
60 | 60 | ||
61 | vnstat.enable = true; | 61 | vnstat.enable = true; |
62 | 62 | ||
63 | printing.enable = true; | 63 | printing = { |
64 | enable = true; | ||
65 | drivers = with pkgs; [ samsung-unified-linux-driver hplip ]; | ||
66 | }; | ||
64 | 67 | ||
65 | logind.extraConfig = '' | 68 | logind.extraConfig = '' |
66 | HandleLidSwitch=hibernate | 69 | HandleLidSwitch=hibernate |
diff --git a/sif/boot.nix b/sif/boot.nix index dbe081c7..1a6155b3 100644 --- a/sif/boot.nix +++ b/sif/boot.nix | |||
@@ -3,10 +3,10 @@ | |||
3 | { | 3 | { |
4 | boot = { | 4 | boot = { |
5 | initrd = { | 5 | initrd = { |
6 | luks.devices = [ | 6 | luks.devices = { |
7 | { name = "nvm0"; device = "/dev/disk/by-uuid/fe641e81-0812-4181-a5f6-382ebba509bb"; } | 7 | nvm0.device = "/dev/disk/by-uuid/fe641e81-0812-4181-a5f6-382ebba509bb"; |
8 | { name = "nvm1"; device = "/dev/disk/by-uuid/43df1ba8-1728-4193-8855-920a82d4494a"; } | 8 | nvm1.device = "/dev/disk/by-uuid/43df1ba8-1728-4193-8855-920a82d4494a"; |
9 | ]; | 9 | }; |
10 | availableKernelModules = [ "dm-snapshot" "dm-integrity" "dm-raid" "drbg" "authenc" "nvme" "fbcon" "xhci_pci" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ]; | 10 | availableKernelModules = [ "dm-snapshot" "dm-integrity" "dm-raid" "drbg" "authenc" "nvme" "fbcon" "xhci_pci" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ]; |
11 | kernelModules = [ "dm-raid" ]; | 11 | kernelModules = [ "dm-raid" ]; |
12 | }; | 12 | }; |