dotfiles/common/users/meyer/default.nix

38 lines
888 B
Nix
Raw Normal View History

2024-10-02 16:36:52 -04:00
{ pkgs, inputs, ... }:
let
NAME = "meyer";
in
{
imports = [
2024-10-02 16:36:52 -04:00
(import ../../systemModules/networkManager.nix { inherit NAME; })
(import ../../systemModules/sops.nix { inherit NAME; })
(import ../../systemModules/vm.nix { inherit NAME; })
2024-10-02 17:19:34 -04:00
(import ../../systemModules/razer.nix { inherit NAME; })
(import ../../systemModules/nixHelper.nix { inherit NAME; })
2024-10-02 16:36:52 -04:00
(import ../../programs/wireshark.nix { inherit NAME; })
];
2024-10-02 16:36:52 -04:00
users = {
users = {
"${NAME}" = {
isNormalUser = true;
extraGroups = [
"wheel" # Enable sudo for the user.
"audio"
"sound"
"video"
"input"
"tty"
"plugdev"
];
shell = pkgs.zsh;
};
};
};
home-manager = {
extraSpecialArgs = { inherit inputs; };
users = {
"${NAME}" = import ./home.nix;
};
};
}