nixos-config/machines/nunotaba/configuration.nix

30 lines
670 B
Nix
Raw Normal View History

2020-08-22 17:44:39 +02:00
{ config, pkgs, ... }:
{
imports =
[
./hardware-configuration.nix
2020-08-22 17:44:39 +02:00
../../modules/restic.nix
#../../modules/texlive.nix
2020-08-22 17:44:39 +02:00
../../profiles/base.nix
../../profiles/dev.nix
../../profiles/gui.nix
../../users/simon/base.nix
];
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";
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" ];
}