Skip to content

Commit

Permalink
profiles/workstation/nixos: workaround NixOS/nixpkgs#180175
Browse files Browse the repository at this point in the history
  • Loading branch information
kalbasit committed Apr 3, 2023
1 parent 8f65761 commit a556c68
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion profiles/workstation/nixos/local/nixos.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ config, ... }:
{ config, lib, ... }:

let
sopsFile = ./secrets.sops.yaml;
Expand Down Expand Up @@ -53,6 +53,9 @@ in
# TODO: fix this!
system.extraSystemBuilderCmds = ''ln -sfn /yl/.surfingkeys.js $out/.surfingkeys.js'';

# work around bug https://github.com/NixOS/nixpkgs/issues/180175
systemd.services.NetworkManager-wait-online.enable = lib.mkForce false;

sops.secrets._etc_NetworkManager_system-connections_Nasreddine_nmconnection = { inherit sopsFile; path = "/etc/NetworkManager/system-connections/Nasreddine.nmconnection"; };
sops.secrets._etc_NetworkManager_system-connections_Nasreddine-ADMIN_nmconnection = { inherit sopsFile; path = "/etc/NetworkManager/system-connections/Nasreddine-ADMIN.nmconnection"; };
sops.secrets._etc_NetworkManager_system-connections_Ellipsis_Jetpack_4976_nmconnection = { inherit sopsFile; path = "/etc/NetworkManager/system-connections/Ellipsis_Jetpack_4976.nmconnection"; };
Expand Down

0 comments on commit a556c68

Please sign in to comment.