change structure to make it more readable
This commit is contained in:
parent
dfa5f7c65c
commit
ad86712653
31 changed files with 259 additions and 234 deletions
|
|
@ -1,31 +0,0 @@
|
|||
{
|
||||
config,
|
||||
inputs,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
wayland.windowManager.hyprland = {
|
||||
enable = true;
|
||||
package = null;
|
||||
systemd.enable = false;
|
||||
extraConfig = ''
|
||||
require("main")
|
||||
'';
|
||||
portalPackage =
|
||||
pkgs.xdg-desktop-portal-hyprland;
|
||||
};
|
||||
xdg.configFile."hypr/main.lua".source =
|
||||
config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/nixos/home/hyprland.lua";
|
||||
xdg.portal.config = {
|
||||
common = {
|
||||
default = [ "gtk" ];
|
||||
};
|
||||
hyprland = {
|
||||
default = [ "hyprland" ];
|
||||
"org.freedesktop.impl.portal.Secret" = [
|
||||
"gnome-keyring"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Reference in a new issue