dotfiles/common/users/meyer/default.nix
2024-10-02 17:19:34 -04:00

38 lines
888 B
Nix
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{ pkgs, inputs, ... }:
let
NAME = "meyer";
in
{
imports = [
(import ../../systemModules/networkManager.nix { inherit NAME; })
(import ../../systemModules/sops.nix { inherit NAME; })
(import ../../systemModules/vm.nix { inherit NAME; })
(import ../../systemModules/razer.nix { inherit NAME; })
(import ../../systemModules/nixHelper.nix { inherit NAME; })
(import ../../programs/wireshark.nix { inherit NAME; })
];
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;
};
};
}