[hyprland] set includes in nix configuration

This commit is contained in:
Simon Cornet 2024-03-24 20:39:49 +01:00
parent 5eb0be9856
commit ad48ceb007
4 changed files with 15 additions and 7 deletions

View File

@ -62,13 +62,6 @@ Clone dotfiles
git clone https://git.simoncor.net/siempie/dotfiles-nix.git ~/.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 Login to all apps
``` ```
bitwarden bitwarden

View File

@ -6,6 +6,7 @@
./alacritty ./alacritty
./clipse ./clipse
./git ./git
./hyprland
./mpv ./mpv
./ssh ./ssh
./theme ./theme

View File

@ -0,0 +1 @@
{ ... }: { imports = [ ./hyprland.nix ]; }

View File

@ -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
'';
}