Regenerated

This commit is contained in:
2026-04-10 18:38:10 +02:00
parent 4002598373
commit d737965e0d
6 changed files with 416 additions and 324 deletions
@@ -146,3 +146,8 @@ bind = $mainMod, W, exec, zen
# Auto apps
#########################
bind = , workspace, exec, ~/.config/hypr/scripts/set-workspace-wallpaper.sh
#########################
# System stuff
#########################
bind = $mainMod, U, exec, sudo nixos-rebuild switch --upgrade && flatpak update
@@ -0,0 +1,11 @@
#!/usr/bin/env bash
set -e
REPO="$HOME/Repos/nixos/Droidnix" # adjust this to your flake repo path
HOSTNAME="$(hostname)"
cd "$REPO"
echo "🔄 Updating flake..."
nix flake update
echo "🏗 Rebuilding NixOS..."
sudo nixos-rebuild switch --flake ".#$HOSTNAME"
echo "📦 Updating Flatpaks..."
flatpak update -y
@@ -0,0 +1,11 @@
{ config, pkgs, flakeRoot ... }:
let
scriptsSrc = "${flakeRoot}/generated/.config/scripts;"
in
{
home.file.".config/scripts" = {
source = scriptsSrc;
recursive = true;
executable = true;
};
}