{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" ]; }; }; }