mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 20:39:18 -08:00
40 lines
945 B
Nix
40 lines
945 B
Nix
{ config, pkgs, profiles, ... }:
|
|
|
|
{
|
|
imports = [
|
|
./hw.nix
|
|
../../../services/zfs.nix
|
|
../../../services/restic.nix
|
|
profiles.gui
|
|
profiles.sway
|
|
profiles.kat
|
|
profiles.laptop
|
|
];
|
|
|
|
deploy.target = "personal";
|
|
|
|
boot.loader.systemd-boot.enable = true;
|
|
boot.loader.efi.canTouchEfiVariables = true;
|
|
boot.supportedFilesystems = [ "zfs" ];
|
|
|
|
katnet.private.interfaces = singleton "hexnet";
|
|
katnet.public.interfaces = [ "enp1s0" "wlp2s0" ];
|
|
|
|
networking.hostId = "dddbb888";
|
|
networking.hostName = "yule";
|
|
|
|
networking.useDHCP = false;
|
|
networking.interfaces.enp1s0.useDHCP = true;
|
|
networking.interfaces.wlp2s0.useDHCP = true;
|
|
|
|
hexchen.network = {
|
|
enable = true;
|
|
pubkey = "9779fd6b5bdba6b9e0f53c96e141f4b11ce5ef749d1b9e77a759a3fdbd33a653";
|
|
# if server, enable this and set endpoint:
|
|
listen.enable = false;
|
|
listen.endpoints = [ "tcp://0.0.0.0:0" ];
|
|
};
|
|
|
|
system.stateVersion = "20.09";
|
|
}
|
|
|