Minor fixes
This commit is contained in:
@@ -24,11 +24,5 @@
|
||||
];
|
||||
|
||||
xdg.enable = true;
|
||||
xdg.userDirs = {
|
||||
extraConfig = {
|
||||
XDG_GAME_DIR = "${config.home.homeDirectory}/Media/Games";
|
||||
XDG_GAME_SAVE_DIR = "${config.home.homeDirectory}/Media/Game Saves";
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
|
@@ -7,7 +7,5 @@ SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
|
||||
|
||||
# Update flake
|
||||
pushd $SCRIPT_DIR/.. &> /dev/null;
|
||||
sudo nix flake update;
|
||||
sudo nix-channel --update;
|
||||
nix-channel --update;
|
||||
sudo nix flake update "$@";
|
||||
popd &> /dev/null;
|
||||
|
@@ -21,20 +21,17 @@ let myScript = ''
|
||||
''+userSettings.dotfilesDir+''/scripts/sync-posthook.sh;
|
||||
exit 0;
|
||||
elif [ "$1" = "update" ]; then
|
||||
if [ "$#" -gt 1 ]; then
|
||||
echo "Warning: The 'update' command has no subcommands (no $2 subcommand)";
|
||||
fi
|
||||
''+userSettings.dotfilesDir+''/scripts/update.sh;
|
||||
''+userSettings.dotfilesDir+''/scripts/update.sh "''${@:2}";
|
||||
exit 0;
|
||||
elif [ "$1" = "upgrade" ]; then
|
||||
if [ "$#" -gt 1 ]; then
|
||||
echo "Warning: The 'update' command has no subcommands (no $2 subcommand)";
|
||||
echo "Warning: The 'upgrade' command has no subcommands (no $2 subcommand)";
|
||||
fi
|
||||
''+userSettings.dotfilesDir+''/scripts/upgrade.sh;
|
||||
exit 0;
|
||||
elif [ "$1" = "pull" ]; then
|
||||
if [ "$#" -gt 1 ]; then
|
||||
echo "Warning: The 'upgrade' command has no subcommands (no $2 subcommand)";
|
||||
echo "Warning: The 'pull' command has no subcommands (no $2 subcommand)";
|
||||
fi
|
||||
''+userSettings.dotfilesDir+''/scripts/pull.sh;
|
||||
exit 0;
|
||||
|
Reference in New Issue
Block a user