Fix dog, revert to network manager
This commit is contained in:
parent
1b9bf47194
commit
7b40f8745a
5 changed files with 27 additions and 5 deletions
|
@ -7,6 +7,12 @@
|
|||
common
|
||||
];
|
||||
|
||||
home = {
|
||||
sessionVariables = {
|
||||
MOZ_ENABLE_WAYLAND = "1";
|
||||
};
|
||||
};
|
||||
|
||||
programs.fish = {
|
||||
shellAliases = {
|
||||
sctl = "sudo systemctl";
|
||||
|
@ -14,6 +20,16 @@
|
|||
pa = "pulsemixer";
|
||||
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 = [
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
btrfs-progs
|
||||
cue
|
||||
curl
|
||||
dog
|
||||
dogdns
|
||||
dua
|
||||
eza
|
||||
fd
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{...}: {
|
||||
# TODO: would like to move away from network manager to iwd
|
||||
networking.networkmanager.enable = true;
|
||||
systemd.services.NetworkManager-wait-online.enable = false;
|
||||
{lib, ...}: {
|
||||
networking.networkmanager.enable = lib.mkDefault true;
|
||||
systemd.services.NetworkManager-wait-online.enable = lib.mkDefault false;
|
||||
# TODO: networking.networkmanager.wifi.backend = "iwd"; ?
|
||||
|
||||
# TODO: powersave?
|
||||
|
||||
|
|
|
@ -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";
|
||||
}
|
||||
|
|
|
@ -129,6 +129,8 @@ nix-shell --packages git \
|
|||
|
||||
## 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
|
||||
- Maybe it detects different CPUs and will recompile certain packages for per-CPU optimizations?
|
||||
- How does this factor in with "pureness"?
|
||||
|
|
Loading…
Reference in a new issue