feat(server): setup user and home directory in flake.
This commit is contained in:
parent
b2c5920c3b
commit
bdc322d5fe
20
flake.nix
20
flake.nix
@ -76,12 +76,28 @@
|
||||
homeConfigurations = {
|
||||
"ivek" = home-manager.lib.homeManagerConfiguration {
|
||||
pkgs = import nixpkgs {system = "x86_64-linux";};
|
||||
modules = [./hosts/server/home.nix ({...}: {home.username = "ivek";})];
|
||||
modules = [
|
||||
./hosts/server/home.nix
|
||||
(
|
||||
{...}: {
|
||||
home.username = "ivek";
|
||||
home.homeDirectory = "/home/ivek";
|
||||
}
|
||||
)
|
||||
];
|
||||
extraSpecialArgs = {inherit inputs;};
|
||||
};
|
||||
"banir" = home-manager.lib.homeManagerConfiguration {
|
||||
pkgs = import nixpkgs {system = "x86_64-linux";};
|
||||
modules = [./hosts/server/home.nix ({...}: {home.username = "banir";})];
|
||||
modules = [
|
||||
./hosts/server/home.nix
|
||||
(
|
||||
{...}: {
|
||||
home.username = "banir";
|
||||
home.homeDirectory = "/home/banir";
|
||||
}
|
||||
)
|
||||
];
|
||||
extraSpecialArgs = {inherit inputs;};
|
||||
};
|
||||
};
|
||||
|
@ -4,7 +4,6 @@
|
||||
inputs,
|
||||
...
|
||||
}: {
|
||||
# home.username = "banir";
|
||||
home.homeDirectory = "/home/banir";
|
||||
home.stateVersion = "24.11";
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user