I don't know what the heck im doing, but I reshuffled some stuff in my systems dir
This commit is contained in:
parent
5f178ffdb2
commit
b61e532095
12 changed files with 149 additions and 197 deletions
24
system/common/user/ooks/default.nix
Normal file
24
system/common/user/ooks/default.nix
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
{ pkgs, config, ... }:
|
||||
let ifTheyExist = groups: builtins.filter (group: builtins.hasAttr group config.users.groups) groups;
|
||||
in
|
||||
{
|
||||
users.users.ooks = {
|
||||
isNormalUser = true
|
||||
shell = pkgs.fish;
|
||||
extraGroups = [
|
||||
"wheel"
|
||||
"video"
|
||||
"audio"
|
||||
] ++ ifTheyExist [
|
||||
"git"
|
||||
"network"
|
||||
"libvirtd"
|
||||
"deluge"
|
||||
];
|
||||
|
||||
packages = [ pkgs.home-manager ];
|
||||
};
|
||||
|
||||
home-manager.users.ooks = import ../../../../home/ooks/${config.networking.hostName}
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue