diff options
| author | Freya Murphy <freya@freyacat.org> | 2026-05-26 13:01:44 -0400 |
|---|---|---|
| committer | Freya Murphy <freya@freyacat.org> | 2026-05-26 13:01:44 -0400 |
| commit | db1096e7b1a9417fefe9039d808b213ec3302448 (patch) | |
| tree | dc6a171f33877dddef047e07edd25790f73dd429 /flake.nix | |
| parent | add amd anti lag (diff) | |
| download | dotfiles-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.nix | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -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 |