summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'flake.nix')
-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 = {