summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2026-05-26 13:01:44 -0400
committerFreya Murphy <freya@freyacat.org>2026-05-26 13:01:44 -0400
commitdb1096e7b1a9417fefe9039d808b213ec3302448 (patch)
treedc6a171f33877dddef047e07edd25790f73dd429 /flake.nix
parentadd amd anti lag (diff)
downloaddotfiles-nix-db1096e7b1a9417fefe9039d808b213ec3302448.tar.gz
dotfiles-nix-db1096e7b1a9417fefe9039d808b213ec3302448.tar.bz2
dotfiles-nix-db1096e7b1a9417fefe9039d808b213ec3302448.zip
refactor sops/vpn into modules
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix12
1 files changed, 6 insertions, 6 deletions
diff --git a/flake.nix b/flake.nix
index fc28cd8..1f51864 100644
--- a/flake.nix
+++ b/flake.nix
@@ -55,22 +55,22 @@
}
)
systems);
- mkSystem = file: system:
+ mkSystem = hostDir: system:
nixpkgs.lib.nixosSystem {
inherit system;
- specialArgs = {inherit inputs system;};
+ specialArgs = {inherit inputs system hostDir;};
modules = [
./system
./options.nix
- file
+ hostDir
];
};
- mkHome = file: system: let
- hostModule = mkSystem file system;
+ mkHome = hostDir: system: let
+ hostModule = mkSystem hostDir system;
in
home-manager.lib.homeManagerConfiguration {
inherit (hostModule) pkgs;
- extraSpecialArgs = {inherit inputs system;};
+ extraSpecialArgs = {inherit inputs system hostDir;};
modules = [
./home
./options.nix