nixos-config/machines/nunotaba/configuration.nix
Simon Bruder 28a74043c4
Include hardware configuration in repository
This avoids surprises when nixos-generate-config is used on a running
system and an overlayfs for docker that is unavailable in stage 1 is
added to /etc/fstab (because it forces me to read what was changed).
2020-08-30 10:03:48 +02:00

30 lines
669 B
Nix

{ config, pkgs, ... }:
{
imports =
[
./hardware-configuration.nix
../../modules/restic.nix
../../modules/texlive.nix
../../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";
boot.initrd.luks.devices = {
root = {
name = "root";
device = "/dev/disk/by-uuid/f3a2fa57-581b-4e95-9a45-d61cda9edc54";
preLVM = true;
allowDiscards = true;
};
};
networking.hostName = "nunotaba";
networking.wireguard.interfaces.wg-home.ips = [ "10.80.0.4/24" ];
}