diff --git a/host/montalin.nix b/host/montalin.nix index 266e9c7..718e662 100644 --- a/host/montalin.nix +++ b/host/montalin.nix @@ -14,7 +14,6 @@ (import ../role/backup.nix {systemdMount = "var-backup.mount"; borgArchiveFolder = "/var/backup/montalin";}) ]; - boot.tmpOnTmpfs = true; 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"; @@ -38,11 +37,6 @@ 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. diff --git a/role/base.nix b/role/base.nix index e225dfb..6012047 100644 --- a/role/base.nix +++ b/role/base.nix @@ -6,6 +6,7 @@ system.autoUpgrade.allowReboot = false; boot.loader.timeout = 2; + boot.tmpOnTmpfs = true; i18n = { consoleFont = "Lat2-Terminus16"; @@ -16,6 +17,7 @@ environment.systemPackages = with pkgs; [ wget curl vim tmux git ncat bind ack fwupd pciutils dmidecode smartmontools parted + borgbckup ]; services.fwupd.enable = true;