mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-08-08 12:54:38 -05:00
chore: removed other users and systems
This commit is contained in:
parent
2b4ad99e25
commit
233cab07dd
135 changed files with 216 additions and 2462 deletions
|
@ -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"
|
||||
]);
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue