chore: removed other users and systems

This commit is contained in:
Nick 2025-06-26 02:15:04 -05:00
parent 2b4ad99e25
commit 233cab07dd
135 changed files with 216 additions and 2462 deletions

View file

@ -2,13 +2,14 @@
config,
flake,
pkgs,
lib,
...
}:
let
inherit (flake) self;
inherit (flake.config.people) user1;
inherit (flake.config.machines) devices;
inherit (flake.config.people.users.${user1}) name;
inherit (flake.config.people.users.${user1}) name paths;
hostname = config.networking.hostName;
in
{
@ -19,13 +20,15 @@ in
isNormalUser = true;
shell = pkgs.nushell;
extraGroups = [
"libvirtd"
"adbusers"
"disk"
"libvirtd"
"netdev"
"networkmanager"
"plugdev"
"samba"
"vboxusers"
"wheel"
"adbusers"
"netdev"
];
};
};
@ -35,19 +38,22 @@ in
username = user1;
homeDirectory = "/home/${user1}";
file = {
"./justfile" = {
source = ./files/justfile;
};
"./.config/scripts/get_weather.sh" = {
source = ./files/get_weather.sh;
source = ./files/scripts/get_weather.sh;
executable = true;
};
".config/wallpaper" = {
source = ./files/wallpaper;
recursive = true;
};
"./.config/vesktop/themes/macchiato-theme.css" = {
source = ./files/themes/vesktop/macchiato-theme.css;
};
};
sessionVariables = {
VISUAL = lib.getExe pkgs.zed-editor;
GTK_THEME = "catppuccin-macchiato-mauve-compact";
};
sessionVariables = { };
};
imports = [
{
@ -61,4 +67,25 @@ in
];
};
};
systemd.tmpfiles = {
rules =
[
"d ${paths.path0} 0755 ${user1} users -"
]
++ (map (path: "d /home/${user1}/${path} 0755 ${user1} users -") [
"Files"
"Files/Scripts"
"Files/Games"
"Files/Screenshots"
])
++ (map (path: "R /home/${user1}/${path} 0755 ${user1} users - -") [
"Desktop"
"Documents"
"Music"
"Pictures"
"Public"
"Templates"
"Videos"
]);
};
}