diff options
author | makefu <github@syntax-fehler.de> | 2019-05-09 08:42:23 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2019-05-09 08:42:23 +0200 |
commit | c07c0412418e3979e609fd5200a34dd1830e9334 (patch) | |
tree | 6f24ee033fb125b8fa7d919492a07f4159b1b6aa /makefu/2configs | |
parent | e5ef540c3a61697f3b91a154e36e6795ef858eec (diff) |
prison-break: finish move from makefu to krebs namespace
Diffstat (limited to 'makefu/2configs')
-rw-r--r-- | makefu/2configs/hw/network-manager.nix | 5 | ||||
-rw-r--r-- | makefu/2configs/nur.nix | 6 |
2 files changed, 7 insertions, 4 deletions
diff --git a/makefu/2configs/hw/network-manager.nix b/makefu/2configs/hw/network-manager.nix index d7b262b91..e781c7ed1 100644 --- a/makefu/2configs/hw/network-manager.nix +++ b/makefu/2configs/hw/network-manager.nix @@ -1,4 +1,7 @@ { pkgs, lib, ... }: +let + prison-break = pkgs.callPackage ../../../krebs/5pkgs/simple/prison-break {}; +in { users.users.makefu = { extraGroups = [ "networkmanager" ]; @@ -31,6 +34,6 @@ "/etc/NetworkManager/system-connections" #NM stateful config files ]; networking.networkmanager.dispatcherScripts = [ - { source = "${pkgs.prison-break}/bin/prison-break"; } + { source = "${prison-break}/bin/prison-break"; } ]; } diff --git a/makefu/2configs/nur.nix b/makefu/2configs/nur.nix index dda00063a..3cb4981e0 100644 --- a/makefu/2configs/nur.nix +++ b/makefu/2configs/nur.nix @@ -1,7 +1,7 @@ { pkgs, ... }:{ nixpkgs.config.packageOverrides = pkgs: { - nur = pkgs.callPackage (import (builtins.fetchGit { - url = "https://github.com/nix-community/NUR"; - })) {}; + nur = import (builtins.fetchTarball "https://github.com/nix-community/NUR/archive/master.tar.gz") { + inherit pkgs; + }; }; } |