mirror of
https://github.com/Moe1369/nix-fleet.git
synced 2026-04-24 23:59:07 +02:00
24 lines
617 B
Nix
24 lines
617 B
Nix
{ inputs, ... }: {
|
|
flake.nixosModules.mo = { pkgs, config }: {
|
|
home-manager.extraSpecialArgs = {};
|
|
|
|
sops.secrets."users/mo/password" = {
|
|
neededForUsers = true;
|
|
};
|
|
users.mutableUsers = false;
|
|
users.users.mo = {
|
|
isNormalUser = true;
|
|
description = fullname;
|
|
extraGroups = [ "networkmanager" "wheel" "video" "audio" ];
|
|
shell = pkgs.zsh;
|
|
hashedPasswordFile = config.sops.secrets."users/mo/password".path;
|
|
};
|
|
|
|
home-manager.users.mo = {
|
|
home.username = user;
|
|
home.homeDirectory = "/home/mo";
|
|
home.stateVersion = "25.11";
|
|
};
|
|
};
|
|
}
|