From ab6b6e28891b575a4e83838f61fd73ebdda5e8a1 Mon Sep 17 00:00:00 2001 From: foglar Date: Fri, 3 Jan 2025 20:29:11 +0100 Subject: [PATCH] script update and todo --- TODO.md | 3 +-- install.sh | 8 +++++++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/TODO.md b/TODO.md index 43afde2..60a3b02 100644 --- a/TODO.md +++ b/TODO.md @@ -24,17 +24,16 @@ - [x] fix rofi cliboard manager by moving it into separate file managed by nix - [x] nix-on-droid - [x] stylix make in one place and check for each program if it is enabled (tmux) + - [ ] neovim - [ ] librewolf and firefox fix, extensions and bookmarks in librewolf - [ ] modularize hyprland config into multiple files -- [ ] consider moving nh config helper into module - [ ] make static background folder and figure out how to simply manage backgrounds across my devices - [ ] fix plasma manager and extend gnome configuration - [ ] ssh public key deployment - [ ] consider moving userSettings from flake.nix to each profile - [ ] add grub bootloader to configuration (and theme) - [ ] distinguish between profiles and decide which version of nixpkgs it should use (my notebook unstable, server stable ...) -- [ ] check nvtop if nvidia is enabled - [ ] add notification management for bluetooth etc... - [ ] add syncthing configuration - [ ] qutebrowser configuration diff --git a/install.sh b/install.sh index 93216f9..81c078d 100755 --- a/install.sh +++ b/install.sh @@ -10,7 +10,7 @@ if [ -d $SCRIPT_DIR ]; then gum confirm "The directory $SCRIPT_DIR already exists. Do you want to delete it?" && yes | rm -rv $SCRIPT_DIR fi -nixos_profile=$(gum choose kogami ginoza tsunemori) +nixos_profile=$(gum choose kogami ginoza) download_wallpapers=$(gum confirm "Do you want to download wallpapers (it may take longer)?" && echo true || echo false) if [ -d $SCRIPT_DIR ]; then @@ -43,4 +43,10 @@ $EDITOR $SCRIPT_DIR/flake.nix gum log --structured --level info "Building configuration for $profile..." profile $profile sudo nixos-rebuild build --flake $SCRIPT_DIR#"${profile}" +# Wallpapers +if [ $download_wallpapers = true ]; then + gum log --structured --level info "Downloading wallpapers..." profile $profile + nix-shell -p git --command "git clone https://git.foglar.tech/foglar/wallpapers.git ~/Pictures/wallpapers" +fi + gum confirm "Do you want to reboot now?" && systemctl reboot || gum log "Please reboot later, to switch to the new configuration"