restore hyprland dotfiles from backups
This commit is contained in:
parent
5dc6c8a77c
commit
4dd1504a4c
12 changed files with 397 additions and 30 deletions
|
|
@ -1,5 +1,45 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
pkgs,
|
||||
config,
|
||||
inputs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
hyprPkgs = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system};
|
||||
in
|
||||
{
|
||||
wayland.windowManager.hyprland = {
|
||||
enable = true;
|
||||
package = hyprPkgs.hyprland;
|
||||
portalPackage = hyprPkgs.xdg-desktop-portal-hyprland;
|
||||
xwayland.enable = true;
|
||||
configType = "lua";
|
||||
systemd = {
|
||||
enable = true;
|
||||
variables = [ "--all" ];
|
||||
};
|
||||
|
||||
extraConfig = ''
|
||||
local hypr_config = os.getenv("XDG_CONFIG_HOME") or "${config.xdg.configHome}"
|
||||
package.path = hypr_config .. "/hypr/?.lua;"
|
||||
.. hypr_config .. "/hypr/?/init.lua;"
|
||||
.. package.path
|
||||
|
||||
require("conf.variables")
|
||||
require("conf.binding")
|
||||
require("conf.env")
|
||||
require("conf.input")
|
||||
require("conf.others")
|
||||
require("conf.monitor")
|
||||
require("conf.startup")
|
||||
require("conf.style")
|
||||
require("conf.windowrules")
|
||||
require("conf.workspace")
|
||||
'';
|
||||
};
|
||||
|
||||
services.hyprpolkitagent.enable = true;
|
||||
|
||||
home.packages = with pkgs; [
|
||||
hyprpaper
|
||||
hyprlock
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue