aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2024-12-29 15:11:36 +0900
committerOphestra <cat@gensokyo.uk>2024-12-29 15:11:36 +0900
commit42e1043300bd339216e7caffcce42f6ea09789de (patch)
treedc4a2469f97c5c6789e83492d2b788248ae77c10
parent5416b07daabffd19d047b7a3b79b0ea632ab33f2 (diff)
nix: set home-manager user information
Signed-off-by: Ophestra <cat@gensokyo.uk>
-rw-r--r--bundle.nix10
1 files changed, 9 insertions, 1 deletions
diff --git a/bundle.nix b/bundle.nix
index 14ba2f1e..376e63f1 100644
--- a/bundle.nix
+++ b/bundle.nix
@@ -47,7 +47,15 @@ let
homeManagerConfiguration = home-manager.lib.homeManagerConfiguration {
pkgs = nixpkgsFor.${system};
- inherit modules;
+ modules = modules ++ [
+ {
+ home = {
+ username = "fortify";
+ homeDirectory = "/data/data/${id}";
+ stateVersion = "22.11";
+ };
+ }
+ ];
};
launcher = writeScript "fortify-${pname}" ''