mirror of
https://github.com/sadan4/dotfiles.git
synced 2025-06-24 13:17:01 -04:00
really big refactor
This commit is contained in:
parent
1d4904a4c9
commit
375a1b2e89
20 changed files with 188 additions and 151 deletions
|
@ -1,9 +1,35 @@
|
|||
{ ... }:
|
||||
{ pkgs, inputs, ... }:
|
||||
let
|
||||
NAME = "meyer";
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
(import ../modules/networkManager.nix { inherit NAME; })
|
||||
(import ../../systemModules/networkManager.nix { inherit NAME; })
|
||||
(import ../../systemModules/sops.nix { inherit NAME; })
|
||||
(import ../../systemModules/vm.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;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue