Add hyprland to home-manager
This commit is contained in:
parent
8ea2d5b6a8
commit
a5cc260a13
17
home-hyprland.nix
Normal file
17
home-hyprland.nix
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
{pkgs, ...}: let
|
||||||
|
flake-compat = builtins.fetchTarball "https://github.com/edolstra/flake-compat/archive/master.tar.gz";
|
||||||
|
|
||||||
|
hyprland = (import flake-compat {
|
||||||
|
src = builtins.fetchTarball "https://github.com/hyprwm/Hyprland/archive/master.tar.gz";
|
||||||
|
}).defaultNix;
|
||||||
|
in {
|
||||||
|
imports = [
|
||||||
|
hyprland.homeManagerModules.default
|
||||||
|
];
|
||||||
|
|
||||||
|
wayland.windowManager.hyprland = {
|
||||||
|
enable = true;
|
||||||
|
|
||||||
|
extraConfig = (builtins.readFile ./config/hypr/hyprland.conf);
|
||||||
|
};
|
||||||
|
}
|
@ -18,6 +18,10 @@ in
|
|||||||
kitty # terminfo support
|
kitty # terminfo support
|
||||||
];
|
];
|
||||||
|
|
||||||
|
imports = [
|
||||||
|
./home-hyprland.nix
|
||||||
|
];
|
||||||
|
|
||||||
programs = {
|
programs = {
|
||||||
fish = {
|
fish = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
Reference in New Issue
Block a user