Fix dog, revert to network manager

This commit is contained in:
Daniel Flanagan 2023-10-06 20:11:44 -05:00
parent 1b9bf47194
commit 7b40f8745a
Signed by: lytedev
GPG key ID: 5B2020A0F9921EF4
5 changed files with 27 additions and 5 deletions

View file

@ -7,6 +7,12 @@
common common
]; ];
home = {
sessionVariables = {
MOZ_ENABLE_WAYLAND = "1";
};
};
programs.fish = { programs.fish = {
shellAliases = { shellAliases = {
sctl = "sudo systemctl"; sctl = "sudo systemctl";
@ -14,6 +20,16 @@
pa = "pulsemixer"; pa = "pulsemixer";
sctlu = "systemctl --user"; sctlu = "systemctl --user";
}; };
functions = {
pp = ''
if test (count $argv) -gt 0
while true; ping -O -i 1 -w 5 -c 10000000 $argv; sleep 1; end
else
while true; ping -O -i 1 -w 5 -c 10000000 1.1.1.1; sleep 1; end
end
'';
};
}; };
home.packages = [ home.packages = [

View file

@ -34,7 +34,7 @@
btrfs-progs btrfs-progs
cue cue
curl curl
dog dogdns
dua dua
eza eza
fd fd

View file

@ -1,7 +1,7 @@
{...}: { {lib, ...}: {
# TODO: would like to move away from network manager to iwd networking.networkmanager.enable = lib.mkDefault true;
networking.networkmanager.enable = true; systemd.services.NetworkManager-wait-online.enable = lib.mkDefault false;
systemd.services.NetworkManager-wait-online.enable = false; # TODO: networking.networkmanager.wifi.backend = "iwd"; ?
# TODO: powersave? # TODO: powersave?

View file

@ -53,5 +53,9 @@
}; };
}; };
# networking.networkmanager.enable = false;
# systemd.services.NetworkManager-wait-online.enable = lib.mkDefault false;
# networking.wireless.iwd.enable = true;
system.stateVersion = "23.11"; system.stateVersion = "23.11";
} }

View file

@ -129,6 +129,8 @@ nix-shell --packages git \
## Long Term ## Long Term
- nix-darwin for work profile(s)
- https://medium.com/@zmre/nix-darwin-quick-tip-activate-your-preferences-f69942a93236
- I don't understand Nix well enough to know why stuff is being compiled even when I have a binary cache - I don't understand Nix well enough to know why stuff is being compiled even when I have a binary cache
- Maybe it detects different CPUs and will recompile certain packages for per-CPU optimizations? - Maybe it detects different CPUs and will recompile certain packages for per-CPU optimizations?
- How does this factor in with "pureness"? - How does this factor in with "pureness"?