feat: removed user1 and tidied up user0 home

This commit is contained in:
Nick 2025-10-02 20:48:44 -05:00
parent 0665b883ab
commit 07a6bb2073
78 changed files with 43 additions and 280 deletions

View file

@ -52,11 +52,11 @@ in
homeDirectory = "/home/${user0}";
file = {
"./justfile" = import ./files/misc/justfile.nix { inherit flake config lib; };
"./Files/Scripts/list.sh" = {
"./.config/scripts/list.sh" = {
source = ./files/scripts/list.sh;
executable = true;
};
"./Files/Scripts/loop.sh" = {
"./.config/scripts/loop.sh" = {
source = ./files/scripts/loop.sh;
executable = true;
};
@ -97,22 +97,13 @@ in
"d ${paths.path0} 0755 ${user0} users -"
]
++ (map (path: "d /home/${user0}/${path} 0755 ${user0} users -") [
"Downloads/Nicotine"
"Downloads/Nicotine/Downloads"
"Downloads/Nicotine/Incomplete"
"Downloads/Nicotine/Received"
"Downloads/Qbittorent"
"Downloads/Qbittorent/Movies"
"Downloads/Qbittorent/Music"
"Downloads/Qbittorent/Shows"
"Files"
"Files/Scripts"
"Files/Games"
"Files/Screenshots"
"projects"
"downloads"
])
++ (map (path: "R /home/${user0}/${path} 0755 ${user0} users - -") [
"Desktop"
"Documents"
"Downloads"
"Music"
"Pictures"
"Public"

View file

@ -33,16 +33,16 @@ in
{
text = ''
rebuildBoot:
nixos-rebuild boot --sudo --flake ~/Files/Projects/dotfiles#${hostname} --show-trace
nixos-rebuild boot --sudo --flake ~/projects/dotfiles#${hostname} --show-trace
rebuild:
nixos-rebuild switch --sudo --flake ~/Files/Projects/dotfiles#${hostname} --show-trace
nixos-rebuild switch --sudo --flake ~/projects/dotfiles#${hostname} --show-trace
rebuild-server:
nixos-rebuild switch --flake ~/Files/Projects/dotfiles#${ceres.name} --target-host ${ceres.ip.address0} --sudo --ask-sudo-password
nixos-rebuild switch --flake ~/projects/dotfiles#${ceres.name} --target-host ${ceres.ip.address0} --sudo --ask-sudo-password
update:
nix flake update --flake ~/Files/Projects/dotfiles
nix flake update --flake ~/projects/dotfiles
remove-redundant:
ls **/*.hs | each { |file| hlint --refactor --refactor-options="--inplace" $file.name }