Skip to content

Commit

Permalink
fix: messy stuff lol
Browse files Browse the repository at this point in the history
  • Loading branch information
isabelroses committed Nov 9, 2023
1 parent 03e4088 commit e805e3c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion modules/base/common/host/os/boot/loader/grub/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ in {
useOSProber = true;
efiSupport = true;
enableCryptodisk = mkDefault false;
device = cfg.boot.device;
device = cfg.boot.grub.device;
theme = null;
backgroundColor = null;
splashImage = null;
Expand Down
26 changes: 13 additions & 13 deletions modules/base/common/host/os/network/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -29,19 +29,6 @@ in {
resolved.enable = true;
};

wireless = {
enable = sys.networking.wirelessBackend == "wpa_supplicant";
userControlled.enable = true;
iwd = {
enable = sys.networking.wirelessBackend == "iwd";
settings = {
Settings = {
AutoConnect = true;
};
};
};
};

networking = {
# generate a host ID by hashing the hostname
hostId = builtins.substring 0 8 (builtins.hashString "md5" config.networking.hostName);
Expand All @@ -68,6 +55,19 @@ in {
"9.9.9.9"
];

wireless = {
enable = sys.networking.wirelessBackend == "wpa_supplicant";
userControlled.enable = true;
iwd = {
enable = sys.networking.wirelessBackend == "iwd";
settings = {
Settings = {
AutoConnect = true;
};
};
};
};

networkmanager = {
enable = true;
plugins = [];
Expand Down

0 comments on commit e805e3c

Please sign in to comment.