refactor: hosts/

This commit is contained in:
WinterEkisha committed 2026-11-17 08:27:51 -08:00
1 parent cedfbd6ef6
commit 3e662f72f7
21 files changed
+140 -14

No files matched your search

@@ -0,0 +1,29 @@
{
pkgs,
config,
lib,
...
}: let
username = "Ekisha";
ifTheyExist = groups: builtins.filter (group: builtins.hasAttr group config.users.groups) groups;
in {
users.users.${username} = {
isNormalUser = true;
extraGroups = ifTheyExist [
"audio"
"libvirtd"
"minecraft"
"video"
];
#packages = [pkgs.home-manager];
};
home-manager.users.${username} = import ../../../../../home/Winter/${username}/${config.networking.hostName}.nix;
security.pam.services = {
swaylock = {};
${username}.enableGnomeKeyring = true;
};
}