diff options
| author | lassulus <lass@aidsballs.de> | 2015-05-07 10:54:29 +0200 | 
|---|---|---|
| committer | tv <tv@krebsco.de> | 2015-05-19 23:17:20 +0200 | 
| commit | cd8770b4d3839ff47b4fc922e6c93f10e6e1f09a (patch) | |
| tree | 958eca9dce51d64a401ba2a5cb744984bd304d4c | |
| parent | 309334d37f7abd6c289879aa082954afa6b8e29c (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 0000000..09b8867 --- /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 045d109..2cdbe52 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; | 
