Clean up montalin configuration

This commit is contained in:
Fabian Hauser 2020-03-08 17:29:51 +00:00
parent 47e750ae10
commit 287f22da35
2 changed files with 2 additions and 6 deletions

View file

@ -14,7 +14,6 @@
(import ../role/backup.nix {systemdMount = "var-backup.mount"; borgArchiveFolder = "/var/backup/montalin";}) (import ../role/backup.nix {systemdMount = "var-backup.mount"; borgArchiveFolder = "/var/backup/montalin";})
]; ];
boot.tmpOnTmpfs = true;
boot.initrd.luks.devices = { boot.initrd.luks.devices = {
"root".device = "/dev/disk/by-uuid/3a0a5071-67ab-4e13-a0b7-d31b86f5e8b1"; "root".device = "/dev/disk/by-uuid/3a0a5071-67ab-4e13-a0b7-d31b86f5e8b1";
"swap".device = "/dev/disk/by-uuid/6dee6e3c-e2f3-46c5-8751-5fce8c80ed49"; "swap".device = "/dev/disk/by-uuid/6dee6e3c-e2f3-46c5-8751-5fce8c80ed49";
@ -38,11 +37,6 @@
boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;
environment.systemPackages = [ pkgs.borgbackup ];
networking.hostName = "montalin"; # Define your hostname. networking.hostName = "montalin"; # Define your hostname.
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.

View file

@ -6,6 +6,7 @@
system.autoUpgrade.allowReboot = false; system.autoUpgrade.allowReboot = false;
boot.loader.timeout = 2; boot.loader.timeout = 2;
boot.tmpOnTmpfs = true;
i18n = { i18n = {
consoleFont = "Lat2-Terminus16"; consoleFont = "Lat2-Terminus16";
@ -16,6 +17,7 @@
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
wget curl vim tmux git ncat bind ack wget curl vim tmux git ncat bind ack
fwupd pciutils dmidecode smartmontools parted fwupd pciutils dmidecode smartmontools parted
borgbckup
]; ];
services.fwupd.enable = true; services.fwupd.enable = true;