diff --git a/docs/install/readme.md b/docs/install/readme.md index dd0a405..12f4556 100644 --- a/docs/install/readme.md +++ b/docs/install/readme.md @@ -62,13 +62,6 @@ Clone dotfiles git clone https://git.simoncor.net/siempie/dotfiles-nix.git ~/.dotfiles ``` -Hyprland -``` -mkdir -p ~/.config/hypr -rm -rf ~/.config/hypr/hyprland -ln -s ~/.dotfiles/hyprland/hyprland.conf ~/.config/hypr/hyprland.conf -``` - Login to all apps ``` bitwarden diff --git a/nix/home/default.nix b/nix/home/default.nix index 242d2ee..c0ca639 100644 --- a/nix/home/default.nix +++ b/nix/home/default.nix @@ -6,6 +6,7 @@ ./alacritty ./clipse ./git + ./hyprland ./mpv ./ssh ./theme diff --git a/nix/home/hyprland/default.nix b/nix/home/hyprland/default.nix new file mode 100644 index 0000000..8b5ce40 --- /dev/null +++ b/nix/home/hyprland/default.nix @@ -0,0 +1 @@ +{ ... }: { imports = [ ./hyprland.nix ]; } diff --git a/nix/home/hyprland/hyprland.nix b/nix/home/hyprland/hyprland.nix new file mode 100644 index 0000000..7a556d3 --- /dev/null +++ b/nix/home/hyprland/hyprland.nix @@ -0,0 +1,13 @@ +{ config, pkgs, ... }: +{ + + # include hyprland configs + home.file.".config/hypr/hyprland.conf".text = '' + source = ~/.dotfiles/hyprland/conf.d/executions.conf + source = ~/.dotfiles/hyprland/conf.d/general.conf + source = ~/.dotfiles/hyprland/conf.d/graphics.conf + source = ~/.dotfiles/hyprland/conf.d/input.conf + source = ~/.dotfiles/hyprland/conf.d/window_rules.conf + source = ~/.dotfiles/hyprland/conf.d/bindings.conf + ''; +}