migrate hyprland to nix
This commit is contained in:
parent
62ed20d1f5
commit
5db1a379e4
15 changed files with 250 additions and 283 deletions
31
home-manager/hyprland/hyprland.nix
Normal file
31
home-manager/hyprland/hyprland.nix
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
{ lib, ... }:
|
||||
let
|
||||
configs = [
|
||||
./config/input.nix
|
||||
./config/keybinds.nix
|
||||
./config/look.nix
|
||||
./config/nvidia.nix
|
||||
./config/rules.nix
|
||||
./config/startup.nix
|
||||
];
|
||||
in
|
||||
{
|
||||
wayland.windowManager.hyprland = {
|
||||
enable = true;
|
||||
extraConfig = builtins.readFile /home/benjamin/.cache/wal/colors-hyprland.conf;
|
||||
settings = lib.mkMerge (
|
||||
[
|
||||
{
|
||||
monitor = "DP-1,preferred,auto,auto";
|
||||
"$terminal" = "kitty";
|
||||
"$fileManager" = "Thunar";
|
||||
"$menu" = "rofi -show drun";
|
||||
"$lockScreen" = "hyprlock";
|
||||
|
||||
"$mainMod" = "SUPER";
|
||||
}
|
||||
]
|
||||
++ (lib.forEach configs (config: import config))
|
||||
);
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue