refactoring
This commit is contained in:
parent
9313d89b15
commit
3adc5e9f73
40 changed files with 73 additions and 73 deletions
34
modules/mizukios/base/user.nix
Normal file
34
modules/mizukios/base/user.nix
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
{ pkgs, inputs, ... }:
|
||||
{
|
||||
users.users.imnyang = {
|
||||
isNormalUser = true;
|
||||
linger = true;
|
||||
description = "@imnya.ng";
|
||||
|
||||
extraGroups = [
|
||||
"imnyang"
|
||||
"networkmanager"
|
||||
"wheel"
|
||||
"docker"
|
||||
"libvirtd"
|
||||
"podman"
|
||||
];
|
||||
shell = pkgs.fish;
|
||||
};
|
||||
|
||||
security.sudo.extraRules = [
|
||||
{
|
||||
users = [ "imnyang" ];
|
||||
commands = [
|
||||
{
|
||||
command = "ALL";
|
||||
options = [ "NOPASSWD" ];
|
||||
}
|
||||
];
|
||||
}
|
||||
];
|
||||
|
||||
system.activationScripts.createIcon = "ln -sfn ${inputs.self}/assets/avatar.webp /var/lib/AccountsService/icons/imnyang";
|
||||
|
||||
programs.fish.enable = true;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue