From 1c7954c58e76e9dfa1e85e610c7c17ed6cb8336d Mon Sep 17 00:00:00 2001 From: coolneng Date: Mon, 29 Mar 2021 19:32:04 +0200 Subject: [PATCH] Add zip and unzip to packages --- configuration.nix | 2 +- modules/hardware-configuration.nix | 40 +++++++++++++++--------------- 2 files changed, 21 insertions(+), 21 deletions(-) diff --git a/configuration.nix b/configuration.nix index 2b0bbb0..bfd8a55 100644 --- a/configuration.nix +++ b/configuration.nix @@ -18,7 +18,7 @@ }; # Packages - environment.systemPackages = with pkgs; [ htop vim ]; + environment.systemPackages = with pkgs; [ htop vim zip unzip ]; # Run Nix garbage collector, while avoiding compiling nix = { diff --git a/modules/hardware-configuration.nix b/modules/hardware-configuration.nix index 0ec40df..42073fc 100644 --- a/modules/hardware-configuration.nix +++ b/modules/hardware-configuration.nix @@ -43,36 +43,36 @@ fsType = "zfs"; }; - fileSystems."/vault/backups" = - { device = "vault/backups"; - fsType = "zfs"; - }; - - fileSystems."/vault/sica" = - { device = "vault/sica"; - fsType = "zfs"; - }; - - fileSystems."/vault/nextcloud" = - { device = "vault/nextcloud"; - fsType = "zfs"; - }; - fileSystems."/vault/samba" = { device = "vault/samba"; fsType = "zfs"; }; - fileSystems."/vault/backups/databases" = - { device = "vault/backups/databases"; - fsType = "zfs"; - }; - fileSystems."/vault/VMs" = { device = "vault/VMs"; fsType = "zfs"; }; + fileSystems."/vault/backups" = + { device = "vault/backups"; + fsType = "zfs"; + }; + + fileSystems."/vault/nextcloud" = + { device = "vault/nextcloud"; + fsType = "zfs"; + }; + + fileSystems."/vault/backups/databases" = + { device = "vault/backups/databases"; + fsType = "zfs"; + }; + + fileSystems."/vault/sica" = + { device = "vault/sica"; + fsType = "zfs"; + }; + swapDevices = [ { device = "/dev/disk/by-uuid/8262a243-b6aa-49e8-bf72-d2b85864d1c0"; } ];