Regenerated

This commit is contained in:
2026-04-22 21:05:54 +02:00
parent c4101683ba
commit 4aef99222f
4 changed files with 428 additions and 443 deletions
@@ -1,5 +1,7 @@
# --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. ---
exec-once = dbus-update-activation-environment --systemd --all && systemctl --user start xdg-desktop-portal-hyprland && systemctl --user start xdg-desktop-portal && sleep 1 && waybar
exec-once = dbus-update-activation-environment --systemd --all
exec-once = systemctl --user start --no-block xdg-desktop-portal-hyprland
exec-once = systemctl --user start --no-block xdg-desktop-portal
exec-once = hypridle
exec-once = awww-daemon
exec-once = awww img ~/Wallpapers/pictures/01.jpg
@@ -8,3 +10,4 @@ exec-once = ~/.config/scripts/workspace-listener.sh
exec-once = /run/current-system/sw/libexec/polkit-gnome-authentication-agent-1
exec-once = nextcloud --background
exec-once = flameshot
exec-once = sleep 3 && waybar
@@ -1,12 +1,8 @@
# --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. ---
{ lib, config, pkgs, flakeRoot, ... }:
let
username = config.defaultUser or "henrov";
homeDir = "/home/${username}";
# Portal backends
basePortal = pkgs.xdg-desktop-portal-gtk;
hyprlandPortal = pkgs.xdg-desktop-portal-hyprland;
in
@@ -15,16 +11,23 @@ in
# XDG Desktop Portals (system)
#################################
xdg.portal.enable = true;
xdg.portal.xdgOpenUsePortal = true;
xdg.portal.extraPortals = [
basePortal
hyprlandPortal
];
xdg.portal.config = {
"org.freedesktop.impl.portal.Screencast".backend = "hyprland";
common = {
default = [ "hyprland" "gtk" ];
};
hyprland = {
default = [ "hyprland" "gtk" ];
"org.freedesktop.impl.portal.FileChooser" = [ "gtk" ];
"org.freedesktop.impl.portal.Settings" = [ "gtk" ];
"org.freedesktop.impl.portal.Screencast" = [ "hyprland" ];
"org.freedesktop.impl.portal.Screenshot" = [ "hyprland" ];
};
};
#################################
# System packages
#################################
@@ -32,26 +35,16 @@ in
basePortal
hyprlandPortal
];
#################################
# Home Manager user config
#################################
home-manager.users.${username} = {
#################################
# User packages
#################################
home.packages = [
basePortal
hyprlandPortal
];
#################################
# XDG user directories (HOME ONLY)
# XDG user directories
#################################
xdg.userDirs = {
enable = true;
createDirectories = true;
desktop = null;
download = "${homeDir}/Downloads";
documents = "${homeDir}/Documents";
@@ -60,7 +53,6 @@ in
publicShare = null;
templates = "${homeDir}/Experiments";
videos = "${homeDir}/Videos";
extraConfig = {
XDG_PROJECTS_DIR = "${homeDir}/Projects";
XDG_WORK_DIR = "${homeDir}/Work";