summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix37
1 files changed, 21 insertions, 16 deletions
diff --git a/flake.nix b/flake.nix
index cef05b7..4c617fc 100644
--- a/flake.nix
+++ b/flake.nix
@@ -135,22 +135,27 @@
];
};
- homeConfigurations.ebisu = home-manager.lib.homeManagerConfiguration {
- pkgs = nixpkgsFor."${system}";
-
- modules = [
- ./home/ebisu
- chaotic.homeManagerModules.default
- ];
-
- extraSpecialArgs = {
- inherit
- inputs
- outputs
- self
- secrets
- ;
+ homeConfigurations.ebisu =
+ let
+ username = "ebisu";
+ in
+ home-manager.lib.homeManagerConfiguration {
+ pkgs = nixpkgsFor."${system}";
+
+ modules = [
+ ./home/${username}
+ chaotic.homeManagerModules.default
+ ];
+
+ extraSpecialArgs = {
+ inherit
+ inputs
+ outputs
+ self
+ secrets
+ username
+ ;
+ };
};
- };
};
}