nixos-config/machines/nunotaba/configuration.nix

35 lines
860 B
Nix
Raw Normal View History

2020-08-22 17:44:39 +02:00
{ config, pkgs, ... }:
{
imports =
[
./hardware-configuration.nix
2020-10-17 13:20:02 +02:00
../../modules/cpu/intel.nix
2020-10-16 18:34:51 +02:00
../../modules/gpu/intel.nix
2020-08-22 17:44:39 +02:00
../../modules/restic.nix
2020-10-17 13:14:42 +02:00
../../modules/ssd.nix
2020-09-12 20:54:10 +02:00
(import ../../modules/libvirt.nix { inherit pkgs; gui = true; })
#../../modules/texlive.nix
2020-08-22 17:44:39 +02:00
../../profiles/base.nix
../../profiles/dev.nix
../../profiles/gui.nix
2020-09-11 18:45:46 +02:00
../../profiles/laptop.nix
2020-11-07 19:17:32 +01:00
../../users/simon
2020-08-22 17:44:39 +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";
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" ];
}