diff options
| author | quentin@aristote.fr <quentin@aristote.fr> | 2023-04-02 22:15:09 +0200 |
|---|---|---|
| committer | quentin@aristote.fr <quentin@aristote.fr> | 2023-04-02 22:15:09 +0200 |
| commit | 19627b26f605d5ebc765084e051f64932e02fca4 (patch) | |
| tree | 305100710cbe4147e9be1d79c699854e8fdb0d35 /modules/nixos/personal | |
| parent | 66f6eb70004acafb746a98036ccc22c26c4b7bdd (diff) | |
Revert "nixos: auto-ugprade: require networkmanager to be online"
This reverts commit b94ddb1f9420240780054e60fa3acb6552ca3a82.
Diffstat (limited to 'modules/nixos/personal')
| -rw-r--r-- | modules/nixos/personal/nix.nix | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/modules/nixos/personal/nix.nix b/modules/nixos/personal/nix.nix index 1b49e13..a4948f4 100644 --- a/modules/nixos/personal/nix.nix +++ b/modules/nixos/personal/nix.nix @@ -44,18 +44,14 @@ in { before = lib.mkIf config.nix.gc.automatic [ "nix-gc.service" ]; wantedBy = lib.mkIf config.nix.gc.automatic [ "nix-gc.service" ]; }; - nixos-upgrade = { - wants = lib.optional config.networking.networkmanager.enable - "NetworkManager-wait-online.service"; - }; }; - programs.git = - lib.mkIf (cfg.flake != null && lib.hasPrefix "git+file" cfg.flake) { - enable = true; - config.user = { - name = "Root user of ${config.networking.hostName}"; - email = "root@${config.networking.hostName}"; - }; + programs.git = lib.mkIf (cfg.flake != null + && lib.hasPrefix "git+file" cfg.flake) { + enable = true; + config.user = { + name = "Root user of ${config.networking.hostName}"; + email = "root@${config.networking.hostName}"; }; + }; }; } |
