Compare commits
2 commits
17b0ab88a3
...
de888fe28e
Author | SHA1 | Date | |
---|---|---|---|
chayleaf | de888fe28e | ||
chayleaf | 2b51eb1610 |
|
@ -128,12 +128,8 @@ in {
|
|||
}
|
||||
];
|
||||
# limit CI CPU usage since I'm running everything else off this server too
|
||||
systemd.services.nix-daemon.serviceConfig.CPUQuota = "100%";
|
||||
nix.daemonCPUSchedPolicy = "idle";
|
||||
nix.daemonIOSchedClass = "idle";
|
||||
systemd.services.hydra-evaluator.serviceConfig.CPUQuota = "100%";
|
||||
systemd.services.hydra-evaluator.serviceConfig.CPUSchedulingPolicy = "idle";
|
||||
systemd.services.hydra-evaluator.serviceConfig.IOSchedulingClass = "idle";
|
||||
systemd.services.nix-daemon.serviceConfig.CPUQuota = "50%";
|
||||
systemd.services.hydra-evaluator.serviceConfig.CPUQuota = "50%";
|
||||
programs.ccache.enable = true;
|
||||
|
||||
services.nginx.statusPage = true;
|
||||
|
|
|
@ -829,6 +829,10 @@ in {
|
|||
extraOptions = "-i ${netAddresses.lan4} -p 6969 -P 6969 -p 80";
|
||||
};
|
||||
|
||||
# it takes a stupidly long time when done via qemu
|
||||
# (also it's supposed to be disabled by default but it was enabled for me, why?)
|
||||
documentation.man.generateCaches = false;
|
||||
|
||||
impermanence.directories = [
|
||||
# for wireguard key
|
||||
{ directory = /secrets; mode = "0000"; }
|
||||
|
|
|
@ -89,15 +89,12 @@
|
|||
# rxvt-unicode-unwrapped.terminfo
|
||||
vim
|
||||
]);
|
||||
# this is supposed to default to false, but it doesn't because of nixos fish module
|
||||
documentation.man.generateCaches = lib.mkOverride 999 false;
|
||||
# and we don't need html files and so on on minimal machines (it's not like I ever use it anyway)
|
||||
# as a bonus, this disables the HTML NixOS manual which takes a while to build and which I
|
||||
# definitely don't need on minimal machines
|
||||
documentation.doc.enable = lib.mkIf cfg.minimal (lib.mkDefault false);
|
||||
programs.fish.enable = true;
|
||||
# conflicts with bash module's mkDefault
|
||||
users.defaultUserShell = lib.mkOverride 999 pkgs.fish;
|
||||
/*programs.zsh = {
|
||||
enable = true;
|
||||
enableBashCompletion = true;
|
||||
};*/
|
||||
users.defaultUserShell = lib.mkIf cfg.minimal pkgs.fish;
|
||||
users.users.${cfg.mainUsername} = {
|
||||
uid = 1000;
|
||||
isNormalUser = true;
|
||||
|
@ -105,7 +102,6 @@
|
|||
};
|
||||
# nixos-hardware uses mkDefault here, so we use slightly higher priority
|
||||
services.xserver.libinput.enable = lib.mkOverride 999 (!cfg.minimal);
|
||||
# TODO: minimal fish/vim config
|
||||
/*
|
||||
services.xserver = {
|
||||
enable = true;
|
||||
|
|
Loading…
Reference in a new issue