home-manager/programs/hyprland: add xdg-autostart programs
This commit is contained in:
parent
73c25e55e9
commit
cbf2ed3b10
4 changed files with 33 additions and 2 deletions
13
config/home-manager/programs/hypr/land/autostart.nix
Normal file
13
config/home-manager/programs/hypr/land/autostart.nix
Normal file
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
inputs,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
inputs.xdg-autostart.homeManagerModules.xdg-autostart
|
||||
];
|
||||
|
||||
xdg.autoStart.packages = with pkgs; [
|
||||
equibop
|
||||
];
|
||||
}
|
|
@ -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
|
||||
|
|
18
flake.lock
18
flake.lock
|
@ -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": [
|
||||
|
|
|
@ -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 = [
|
||||
|
|
Loading…
Reference in a new issue