diff --git a/host/montalin.nix b/host/montalin.nix index 97ef6a0..bdc354b 100644 --- a/host/montalin.nix +++ b/host/montalin.nix @@ -17,11 +17,13 @@ boot.initrd.luks.devices = { "root".device = "/dev/disk/by-uuid/3a0a5071-67ab-4e13-a0b7-d31b86f5e8b1"; "swap".device = "/dev/disk/by-uuid/6dee6e3c-e2f3-46c5-8751-5fce8c80ed49"; + "backup".device = "/dev/disk/by-uuid/a965933d-516c-46cf-8384-006b1770e46b"; }; fileSystems = { "/" = { device = "/dev/mapper/root"; fsType = "btrfs"; }; - "/boot" = { device = "/dev/disk/by-uuid/0065-E4EA"; fsType = "vfat"; }; + "/var/backup" = { device = "/dev/mapper/backup"; fsType = "ext4"; }; + "/boot" = { device = "/dev/disk/by-uuid/0065-E4EA"; fsType = "vfat"; options = [ "defaults" "noatime" ]; }; }; swapDevices = [{ device = "/dev/mapper/swap"; }]; @@ -30,6 +32,11 @@ boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; + + + environment.systemPackages = [ pkgs.borgbackup ]; + + networking.hostName = "montalin"; # Define your hostname. # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.