diff options
author | lassulus <lass@aidsballs.de> | 2016-06-11 14:53:18 +0200 |
---|---|---|
committer | lassulus <lass@aidsballs.de> | 2016-06-11 14:53:18 +0200 |
commit | 75d3e5210d7f50fa6e0bdcae9a5a495f937049f1 (patch) | |
tree | f94ab492fe73cadec8e9670bb766bd41baf7e894 | |
parent | 2a51473d3553459ee8794d78a1eed17e9a86f7eb (diff) |
l 2: move nixpkgs to seperate file
-rw-r--r-- | lass/2configs/default.nix | 6 | ||||
-rw-r--r-- | lass/2configs/nixpkgs.nix | 8 |
2 files changed, 9 insertions, 5 deletions
diff --git a/lass/2configs/default.nix b/lass/2configs/default.nix index f4a0de35f..da3123512 100644 --- a/lass/2configs/default.nix +++ b/lass/2configs/default.nix @@ -7,6 +7,7 @@ with config.krebs.lib; ../2configs/zsh.nix ../2configs/mc.nix ../2configs/retiolum.nix + ../2configs/nixpkgs.nix ./backups.nix { users.extraUsers = @@ -64,11 +65,6 @@ with config.krebs.lib; else "/home/lass/secrets/${config.krebs.build.host.name}"; #secrets-common = "/home/lass/secrets/common"; stockholm = "/home/lass/stockholm"; - nixpkgs = { - url = https://github.com/lassulus/nixpkgs; - rev = "2e971b07db3fb77e0590fff09d0b9cb086159caa"; - dev = "/home/lass/src/nixpkgs"; - }; } // optionalAttrs config.krebs.build.host.secure { #secrets-master = "/home/lass/secrets/master"; }); diff --git a/lass/2configs/nixpkgs.nix b/lass/2configs/nixpkgs.nix new file mode 100644 index 000000000..c893011a3 --- /dev/null +++ b/lass/2configs/nixpkgs.nix @@ -0,0 +1,8 @@ +{ ... }: + +{ + krebs.build.source.nixpkgs = { + url = https://github.com/lassulus/nixpkgs; + rev = "f215f9e91e07473e61c9302aaa312c7350e98f0e"; + }; +} |