diff options
author | lassulus <lassulus@lassul.us> | 2022-01-06 13:52:10 +0100 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2022-01-06 13:52:10 +0100 |
commit | c5e8c95f684f6c7588bc3bca3a6307dcb4658c1c (patch) | |
tree | 365c5ebf26a9f8b515abe413bed0b130d3572497 /tv/1systems/bu/config.nix | |
parent | deda4c978956e39c3b6345e5ef5604b2bc020e00 (diff) | |
parent | 63e76e4218339c87d8df5fd1712a5be0e17a33cd (diff) |
Merge remote-tracking branch 'ni/master'
Diffstat (limited to 'tv/1systems/bu/config.nix')
-rw-r--r-- | tv/1systems/bu/config.nix | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/tv/1systems/bu/config.nix b/tv/1systems/bu/config.nix new file mode 100644 index 000000000..69c5848f5 --- /dev/null +++ b/tv/1systems/bu/config.nix @@ -0,0 +1,40 @@ +{ config, pkgs, ... }: let + lib = import ../../../lib; +in { + + imports = [ + ./disks.nix + <stockholm/tv> + <stockholm/tv/2configs/hw/x220.nix> + <stockholm/tv/2configs/exim-retiolum.nix> + <stockholm/tv/2configs/gitconfig.nix> + <stockholm/tv/2configs/pulse.nix> + <stockholm/tv/2configs/retiolum.nix> + ]; + + environment.homeBinInPath = true; + + krebs.build.host = config.krebs.hosts.bu; + + networking.hostId = lib.mkDefault "00000000"; + + networking.wireless.enable = true; + networking.useDHCP = false; + networking.interfaces.enp0s25.useDHCP = true; + networking.interfaces.wlp3s0.useDHCP = true; + networking.interfaces.wwp0s29u1u4i6.useDHCP = true; + networking.wireless.interfaces = [ + "wlp3s0" + ]; + + programs.gnupg.agent.enable = true; + programs.gnupg.agent.pinentryFlavor = "gtk2"; + + services.earlyoom.enable = true; + services.earlyoom.freeMemThreshold = 5; + systemd.services.earlyoom.environment.EARLYOOM_ARGS = toString [ + "--prefer '(^|/)chromium$'" + ]; + + system.stateVersion = "21.11"; +} |