Files
2026-08-20 11:09:24 +01:00

44 lines
732 B
Nix

{self, ...}: {
flake.nixosModules.user = {
pkgs,
...
}: let
modules = with self.nixosModules; [
zsh
stow
];
in {
imports = modules;
ahmza.stow = {
enable = true;
user = "ahmza";
# repoPath defaults to /home/ahmza/dot
};
security.sudo.extraRules = [
{
users = ["ahmza"];
commands = [
{
command = "ALL";
options = ["NOPASSWD"];
}
];
}
];
users.users.ahmza = {
isNormalUser = true;
initialPassword = "qwer";
shell = pkgs.zsh;
description = "ahmza";
extraGroups = [
"networkmanager"
"wheel"
"uinput"
];
};
};
}