diff --git a/hosts/common/system/configs/networking/default.nix b/hosts/common/system/configs/networking/default.nix index 17fe973..2e5b3cb 100644 --- a/hosts/common/system/configs/networking/default.nix +++ b/hosts/common/system/configs/networking/default.nix @@ -3,6 +3,7 @@ networking.networkmanager.enable = true; environment.persistence."/persist"."/etc/NetworkManager/system-connections" = { }; + systemd.services.NetworkManager.after = [ config.environment.persistence."/persist"."/etc/NetworkManager/system-connections".mount ]; diff --git a/hosts/common/system/configs/powertop/default.nix b/hosts/common/system/configs/powertop/default.nix index 4052fe2..774061d 100644 --- a/hosts/common/system/configs/powertop/default.nix +++ b/hosts/common/system/configs/powertop/default.nix @@ -1,4 +1,5 @@ { pkgs, ... }: { environment.systemPackages = with pkgs; [ powertop ]; + powerManagement.powertop.enable = true; } diff --git a/hosts/common/user/configs/gui/obsidian/default.nix b/hosts/common/user/configs/gui/obsidian/default.nix index cb3bc82..8aa113e 100644 --- a/hosts/common/user/configs/gui/obsidian/default.nix +++ b/hosts/common/user/configs/gui/obsidian/default.nix @@ -706,9 +706,11 @@ in theme.template = lib.attrsets.mapAttrs' ( _: vault: - lib.attrsets.nameValuePair "${home}/${vault.target}/.obsidian/plugins/obsidian-style-settings/data.json" { - source = ./theme.json; - } + lib.attrsets.nameValuePair + "${home}/${vault.target}/.obsidian/plugins/obsidian-style-settings/data.json" + { + source = ./theme.json; + } ) hmConfig.programs.obsidian.vaults; sops.secrets."google/geocoding" = { }; diff --git a/hosts/eirene/default.nix b/hosts/eirene/default.nix index 836b4c6..2db844c 100644 --- a/hosts/eirene/default.nix +++ b/hosts/eirene/default.nix @@ -88,10 +88,7 @@ }; }; - powerManagement = { - enable = true; - powertop.enable = true; - }; + powerManagement.enable = true; systemd.services.powertop.postStart = builtins.readFile ./scripts/mouse.sh;