boxen/machines/gwydion.nix

33 lines
649 B
Nix
Raw Normal View History

2020-11-21 15:51:37 +00:00
{ config, pkgs, lib, ... }:
2020-10-29 19:29:07 +00:00
{
imports = [ ../bits/home-common.nix ../bits/zfs.nix ../bits/amdgpu.nix ];
2020-11-06 16:26:20 +00:00
boot.loader = {
efi = {
canTouchEfiVariables = false;
efiSysMountPoint = "/boot/efi";
};
grub = {
enable = true;
efiSupport = true;
efiInstallAsRemovable = false;
device = "nodev";
2020-11-13 17:20:23 +00:00
gfxmodeEfi = "2560x1440";
extraConfig = ''
set timeout=2;
set timeout_style="menu";
'';
};
};
users.users.jez.uid = 1000;
users.groups.jez.gid = 1000;
2020-10-30 18:40:08 +00:00
networking.interfaces.enp39s0.useDHCP = true;
networking.firewall.allowedTCPPorts = [
2020-11-21 15:51:37 +00:00
6600 # mpd
];
2020-10-29 19:29:07 +00:00
}