Update files

This commit is contained in:
2026-08-09 21:44:39 +01:00
parent 5f8ef294f7
commit a8f16bcd6f
3 changed files with 29 additions and 1 deletions
+17
View File
@@ -41,6 +41,23 @@
echo "Dotfiles bootstrapped successfully." echo "Dotfiles bootstrapped successfully."
''; '';
setupNotes = lib.hm.dag.entryAfter ["writeBoundary"] ''
if [[ -v DRY_RUN ]]; then
echo "Dry run: Would initialise Notes from labs.scarif.space"
exit
fi
NOTES_DIR="$HOME/Notes"
if [ ! -d "$NOTES_DIR" ]; then
echo "No local repository so cloning from remote"
SOURCE="https://labs.scarif.space/chris/notes.git"
${pkgs.git}/bin/git clone -b main "$SOURCE" "$NOTES_DIR"
echo "Notes downloaded successfully."
else
echo "Notes directory already exists, skipping clone"
fi
'';
setupDevDirectories = lib.hm.dag.entryAfter ["writeBoundary"] '' setupDevDirectories = lib.hm.dag.entryAfter ["writeBoundary"] ''
if [[ -v DRY_RUN ]]; then if [[ -v DRY_RUN ]]; then
echo "Dry run: Would create dev directories" echo "Dry run: Would create dev directories"
+2
View File
@@ -30,6 +30,7 @@
".local/share/gradle" ".local/share/gradle"
".local/share/keyrings" ".local/share/keyrings"
".local/share/krita" ".local/share/krita"
".local/share/Libation"
".local/share/nvim" ".local/share/nvim"
".local/share/station" ".local/share/station"
".local/share/voxtype" ".local/share/voxtype"
@@ -42,6 +43,7 @@
".steam" ".steam"
".minecraft" ".minecraft"
"Code" "Code"
"Notes"
"Downloads" "Downloads"
"Tower" "Tower"
]; ];
+10 -1
View File
@@ -39,7 +39,7 @@ in
imv # Image viewer imv # Image viewer
inkscape # Vector graphics software inkscape # Vector graphics software
pkgs-unstable.krita # Custom digital art software (from AppImage) pkgs-unstable.krita # Custom digital art software (from AppImage)
pkgs-unstable.libation # Audible book manager # pkgs-unstable.libation # Audible book manager
libreoffice-fresh # Office suite libreoffice-fresh # Office suite
pkgs-unstable.atlauncher # Minecraft launcher pkgs-unstable.atlauncher # Minecraft launcher
mpv # Video player mpv # Video player
@@ -69,6 +69,15 @@ in
} }
''; '';
}; };
xdg.desktopEntries = {
libation = {
name = "Libation (On demand)";
exec = "nix run \"github:NixOS/nixpkgs/nixos-unstable#libation\"";
terminal = true;
categories = [ "Utility" ];
icon = "libation";
};
};
# xdg.desktopEntries.enpass = { # xdg.desktopEntries.enpass = {
# type = "Application"; # type = "Application";
# name = "Enpass"; # name = "Enpass";