diff options
author | lassulus <lass@aidsballs.de> | 2015-05-07 10:54:29 +0200 |
---|---|---|
committer | tv <tv@shackspace.de> | 2015-05-19 23:17:20 +0200 |
commit | c9c54a6a091700a5912abee41cb8f578a27a12ff (patch) | |
tree | 958eca9dce51d64a401ba2a5cb744984bd304d4c | |
parent | b671586698224306a8942c7e310ceff093b500c3 (diff) |
add nixpkgs.nix
-rw-r--r-- | modules/lass/nixpkgs.nix | 16 | ||||
-rw-r--r-- | modules/mors/default.nix | 6 |
2 files changed, 22 insertions, 0 deletions
diff --git a/modules/lass/nixpkgs.nix b/modules/lass/nixpkgs.nix new file mode 100644 index 000000000..09b88672b --- /dev/null +++ b/modules/lass/nixpkgs.nix @@ -0,0 +1,16 @@ +{ config, lib, pkgs, ... }: + +with lib; + +{ + options = { + nixpkgs.url = mkOption { + type = types.string; + description = "url of the remote repo"; + }; + nixpkgs.rev= mkOption { + type = types.string; + description = "revision of the remote repo"; + }; + }; +} diff --git a/modules/mors/default.nix b/modules/mors/default.nix index 045d109b1..2cdbe5274 100644 --- a/modules/mors/default.nix +++ b/modules/mors/default.nix @@ -20,7 +20,13 @@ ../lass/steam.nix ../lass/wine.nix ../lass/texlive.nix + ../lass/nixpkgs.nix ]; + nixpkgs = { + url = "https://github.com/Lassulus/nixpkgs"; + rev = "b421fc0686232fb2e1ff723d6ae2295345db007b"; + }; + networking.hostName = "mors"; networking.wireless.enable = true; |