home-manager/programs/hyprland: add xdg-autostart programs

This commit is contained in:
Anthony Rodriguez 2024-12-26 15:34:45 +01:00
parent 73c25e55e9
commit cbf2ed3b10
Signed by: nezia
GPG key ID: EE3BE97C040A86CE
4 changed files with 33 additions and 2 deletions

View file

@ -0,0 +1,13 @@
{
inputs,
pkgs,
...
}: {
imports = [
inputs.xdg-autostart.homeManagerModules.xdg-autostart
];
xdg.autoStart.packages = with pkgs; [
equibop
];
}

View file

@ -3,7 +3,7 @@
pkgs,
...
}: {
imports = [./binds.nix];
imports = [./autostart.nix ./binds.nix];
home.packages = [
inputs.hyprwm-contrib.packages.${pkgs.system}.grimblast
# disable unused panels - https://github.com/maydayv7/dotfiles/blob/4de45008a6915753834aa7e1cbafbacfff8b7adc/modules/gui/desktop/hyprland/apps/utilities.nix#L42-L57

View file

@ -3234,7 +3234,8 @@
"nvf": "nvf",
"plasma-manager": "plasma-manager",
"portfolio": "portfolio",
"treefmt-nix": "treefmt-nix"
"treefmt-nix": "treefmt-nix",
"xdg-autostart": "xdg-autostart"
}
},
"rust-overlay": {
@ -3441,6 +3442,21 @@
"type": "github"
}
},
"xdg-autostart": {
"locked": {
"lastModified": 1735223330,
"narHash": "sha256-IeJ60TI+75keBwxQ5kN/W6KfFYsVXTWEYUSpqUZMTXE=",
"owner": "nezia1",
"repo": "home-manager-xdg-autostart",
"rev": "8f9c965af14ef728137b961a916a68773b0d843d",
"type": "github"
},
"original": {
"owner": "nezia1",
"repo": "home-manager-xdg-autostart",
"type": "github"
}
},
"xdph": {
"inputs": {
"hyprland-protocols": [

View file

@ -71,6 +71,8 @@
inputs.home-manager.follows = "home-manager";
};
treefmt-nix.url = "github:numtide/treefmt-nix";
# TODO: switch to Zocker1999NET if PR gets merged
xdg-autostart.url = "github:nezia1/home-manager-xdg-autostart";
};
nixConfig = {
extra-substituters = [