summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlassulus <lass@aidsballs.de>2015-05-07 10:54:29 +0200
committertv <tv@shackspace.de>2015-05-19 23:17:20 +0200
commitc9c54a6a091700a5912abee41cb8f578a27a12ff (patch)
tree958eca9dce51d64a401ba2a5cb744984bd304d4c
parentb671586698224306a8942c7e310ceff093b500c3 (diff)
add nixpkgs.nix
-rw-r--r--modules/lass/nixpkgs.nix16
-rw-r--r--modules/mors/default.nix6
2 files changed, 22 insertions, 0 deletions
diff --git a/modules/lass/nixpkgs.nix b/modules/lass/nixpkgs.nix
new file mode 100644
index 00000000..09b88672
--- /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 045d109b..2cdbe527 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;