more tidying - commented most of hosts/hades

This commit is contained in:
serenity-F 2024-09-14 01:56:29 +10:00
parent b91d96a84c
commit 5ccd508676
No known key found for this signature in database
6 changed files with 141 additions and 148 deletions

View file

@ -12,10 +12,9 @@
inputs.home-manager.nixosModules.home-manager
## semi-modularised config
./packages.nix # system-level packages here
../home/users # user defined configs and packages here
../home/users # user-level packages here
];
## locale is common across machines
## crikey !
time.timeZone = "Australia/Brisbane";
i18n.defaultLocale = "en_GB.UTF-8";
@ -24,22 +23,21 @@
#sound.enable = false;
hardware.pulseaudio.enable = false;
services.pipewire = {
enable = true;
#jack.enable = false;
pulse.enable = true;
alsa.enable = true;
#alsa.support32Bit = false;
enable = true;
#jack.enable = false;
pulse.enable = true;
alsa.enable = true;
#alsa.support32Bit = false;
#lowLatency.enable = true;
};
## genuinely dunno what these do hey, like isnt sudo
## already restricted to @wheel only? & wut is rtkit
security = {
rtkit.enable = true;
sudo.execWheelOnly = true;
rtkit.enable = true;
sudo.execWheelOnly = true;
};
## settings for nix
nix.settings = {
## use all cores during build
cores = 0;
@ -58,16 +56,10 @@
## disable these cuz they cause problems (thx sasha)
## see: https://github.com/NixOS/nixpkgs/issues/180175
systemd.services = {
networkManager-wait-online.enable = lib.mkForce false;
systemd-networkd-wait-online.enable = lib.mkForce false;
networkManager-wait-online.enable = lib.mkForce false;
systemd-networkd-wait-online.enable = lib.mkForce false;
};
## autoupgrades ? disabled for now, need to read into
# system.autoUpgrade = {
# enable = true;
# channel = "";
# };
## https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
system.stateVersion = "23.11";