mirror of
https://github.com/elwrcl/copnix.git
synced 2026-10-31 22:28:03 +03:00
Add pkgs.evil-helix_git to the home environment so the helix-based editor is available for the user. Configure nix.settings.trusted-users to include "root" and "@wheel" so the wheel group is treated as trusted users for Nix system operations.
43 lines
656 B
Nix
43 lines
656 B
Nix
{
|
|
pkgs,
|
|
...
|
|
}:
|
|
|
|
{
|
|
users.users.elars = {
|
|
isNormalUser = true;
|
|
description = "elars";
|
|
extraGroups = [
|
|
"networkmanager"
|
|
"wheel"
|
|
"docker"
|
|
"video"
|
|
"audio"
|
|
"lp"
|
|
"scanner"
|
|
"libvirtd"
|
|
"plugdev"
|
|
];
|
|
shell = pkgs.zsh;
|
|
};
|
|
|
|
nix.settings.trusted-users = [
|
|
"root"
|
|
"@wheel"
|
|
];
|
|
|
|
programs.nh = {
|
|
enable = true;
|
|
clean.enable = true;
|
|
clean.extraArgs = "--keep-since 4d --keep 3";
|
|
flake = "/home/elars/copland";
|
|
};
|
|
|
|
programs.zsh = {
|
|
enable = true;
|
|
enableCompletion = true;
|
|
autosuggestions.enable = true;
|
|
syntaxHighlighting.enable = true;
|
|
};
|
|
}
|