script update and todo
This commit is contained in:
parent
cb4d3805e8
commit
ab6b6e2889
3
TODO.md
3
TODO.md
@ -24,17 +24,16 @@
|
|||||||
- [x] fix rofi cliboard manager by moving it into separate file managed by nix
|
- [x] fix rofi cliboard manager by moving it into separate file managed by nix
|
||||||
- [x] nix-on-droid
|
- [x] nix-on-droid
|
||||||
- [x] stylix make in one place and check for each program if it is enabled (tmux)
|
- [x] stylix make in one place and check for each program if it is enabled (tmux)
|
||||||
|
|
||||||
- [ ] neovim
|
- [ ] neovim
|
||||||
- [ ] librewolf and firefox fix, extensions and bookmarks in librewolf
|
- [ ] librewolf and firefox fix, extensions and bookmarks in librewolf
|
||||||
- [ ] modularize hyprland config into multiple files
|
- [ ] 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
|
- [ ] make static background folder and figure out how to simply manage backgrounds across my devices
|
||||||
- [ ] fix plasma manager and extend gnome configuration
|
- [ ] fix plasma manager and extend gnome configuration
|
||||||
- [ ] ssh public key deployment
|
- [ ] ssh public key deployment
|
||||||
- [ ] consider moving userSettings from flake.nix to each profile
|
- [ ] consider moving userSettings from flake.nix to each profile
|
||||||
- [ ] add grub bootloader to configuration (and theme)
|
- [ ] add grub bootloader to configuration (and theme)
|
||||||
- [ ] distinguish between profiles and decide which version of nixpkgs it should use (my notebook unstable, server stable ...)
|
- [ ] 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 notification management for bluetooth etc...
|
||||||
- [ ] add syncthing configuration
|
- [ ] add syncthing configuration
|
||||||
- [ ] qutebrowser configuration
|
- [ ] qutebrowser configuration
|
||||||
|
|||||||
@ -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
|
gum confirm "The directory $SCRIPT_DIR already exists. Do you want to delete it?" && yes | rm -rv $SCRIPT_DIR
|
||||||
fi
|
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)
|
download_wallpapers=$(gum confirm "Do you want to download wallpapers (it may take longer)?" && echo true || echo false)
|
||||||
|
|
||||||
if [ -d $SCRIPT_DIR ]; then
|
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
|
gum log --structured --level info "Building configuration for $profile..." profile $profile
|
||||||
sudo nixos-rebuild build --flake $SCRIPT_DIR#"${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"
|
gum confirm "Do you want to reboot now?" && systemctl reboot || gum log "Please reboot later, to switch to the new configuration"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user