user config

This commit is contained in:
Mohamed Chrayed
2026-03-03 20:42:10 +01:00
parent 7e62abe047
commit bfef67bf0d
2 changed files with 2 additions and 3 deletions

View File

@@ -10,7 +10,6 @@
rtkit
shellapps
sshd
user
version
zsh
];

View File

@@ -1,23 +0,0 @@
{ 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";
};
};
}