summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 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;