summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorstuebinm2022-10-31 21:25:57 +0100
committerstuebinm2022-10-31 21:25:57 +0100
commitef65db8be79e8dc62996fa2fbfaae4ec19ac403a (patch)
tree2a1fb6277fb9418f89f70cc39da00f381af8dc7f /flake.nix
parente0e6089c2ec3e4787adb33663d92336729a043e8 (diff)
add peerix
this is more difficult than i thought
Diffstat (limited to '')
-rw-r--r--flake.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/flake.nix b/flake.nix
index fb0b7ef..13bfa6d 100644
--- a/flake.nix
+++ b/flake.nix
@@ -8,6 +8,8 @@
home-manager.url = "github:nix-community/home-manager/release-22.05";
home-manager.inputs.nixpkgs.follows = "nixpkgs";
+ peerix.url = "github:cid-chan/peerix";
+ peerix.inputs.nixpkgs.follows = "nixpkgs";
naersk.url = "github:nix-community/naersk";
naersk.inputs.nixpkgs.follows = "nixpkgs";
deploy-rs.url = "github:serokell/deploy-rs";
@@ -37,7 +39,7 @@
walint.flake = false;
};
- outputs = { self, nixpkgs, deploy-rs, ... }@inputs:
+ outputs = { self, nixpkgs, deploy-rs, peerix, nixos-hardware, ... }@inputs:
let
mkConfig = imports: config:
nixpkgs.lib.nixosSystem {
@@ -47,7 +49,7 @@
specialArgs = { inherit inputs; };
};
mkServer = mkConfig [ ./common/headless.nix ];
- mkDesktop = mkConfig [ ./common/desktop.nix ];
+ mkDesktop = mkConfig [ ./common/desktop.nix peerix.nixosModules.peerix ];
deploy-vps = hostname: {
inherit hostname;
profiles.system = {