2020-08-22 17:44:39 +02:00
|
|
|
{ config, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
imports =
|
|
|
|
[
|
|
|
|
/etc/nixos/hardware-configuration.nix
|
|
|
|
../../modules/restic.nix
|
2020-08-26 01:08:08 +02:00
|
|
|
../../modules/texlive.nix
|
2020-08-22 17:44:39 +02:00
|
|
|
../../profiles/base.nix
|
|
|
|
../../profiles/dev.nix
|
|
|
|
../../profiles/gui.nix
|
|
|
|
../../users/simon/base.nix
|
|
|
|
];
|
|
|
|
|
2020-08-24 12:52:50 +02:00
|
|
|
boot.loader.grub.device = "/dev/disk/by-id/ata-INTEL_SSDSC2KB480G7_PHYS749202D6480BGN";
|
2020-08-22 17:44:39 +02:00
|
|
|
|
|
|
|
boot.initrd.luks.devices = {
|
|
|
|
root = {
|
|
|
|
name = "root";
|
2020-08-24 12:52:50 +02:00
|
|
|
device = "/dev/disk/by-uuid/f3a2fa57-581b-4e95-9a45-d61cda9edc54";
|
2020-08-22 17:44:39 +02:00
|
|
|
preLVM = true;
|
|
|
|
allowDiscards = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
networking.hostName = "nunotaba";
|
|
|
|
|
|
|
|
networking.wireguard.interfaces.wg-home.ips = [ "10.80.0.4/24" ];
|
|
|
|
}
|