diff options
author | sils <sils@sils.li> | 2023-08-07 16:44:18 +0200 |
---|---|---|
committer | sils <sils@sils.li> | 2023-08-07 16:44:18 +0200 |
commit | f7a3e26124c7ac5ec83443b098a7fc135a8f48c1 (patch) | |
tree | ef7763db9f7ddc96ec0e554ab86cd5f1d177093c | |
parent | Feat(s/impermanence): Add /root (diff) | |
download | nix-config-f7a3e26124c7ac5ec83443b098a7fc135a8f48c1.tar.gz nix-config-f7a3e26124c7ac5ec83443b098a7fc135a8f48c1.zip |
Feat(sys): Add hyprland
-rw-r--r-- | sys/default.nix | 2 | ||||
-rw-r--r-- | sys/desktop/hyprland/default.nix | 6 | ||||
-rw-r--r-- | sys/environment/default.nix | 1 | ||||
-rw-r--r-- | sys/xdg/default.nix | 3 |
4 files changed, 12 insertions, 0 deletions
diff --git a/sys/default.nix b/sys/default.nix index d38321a..e90e405 100644 --- a/sys/default.nix +++ b/sys/default.nix @@ -2,6 +2,7 @@ imports = [ ./desktop/gnome ./desktop/awesome + ./desktop/hyprland ./environment ./font ./impermanence @@ -12,5 +13,6 @@ ./sound ./systemd ./users + ./xdg ]; } diff --git a/sys/desktop/hyprland/default.nix b/sys/desktop/hyprland/default.nix new file mode 100644 index 0000000..f7c3ab1 --- /dev/null +++ b/sys/desktop/hyprland/default.nix @@ -0,0 +1,6 @@ +{...}: { + programs.hyprland = { + enable = true; + xwayland.enable = true; + }; +} diff --git a/sys/environment/default.nix b/sys/environment/default.nix index 4760783..bf8ec5f 100644 --- a/sys/environment/default.nix +++ b/sys/environment/default.nix @@ -19,6 +19,7 @@ GOPATH = "\${HOME}/.local/share/go"; XCOMPOSECACHE = "\${HOME}/.cache/X11/xcompose"; CDPATH = ".:\${HOME}:\${HOME}/repos/:\${HOME}/srv"; + NIXOS_OZONE_WL = "1"; # wayland for electron apps #PYTHONSTARTUP="/etc/python/pythonrc"; diff --git a/sys/xdg/default.nix b/sys/xdg/default.nix new file mode 100644 index 0000000..1182d5e --- /dev/null +++ b/sys/xdg/default.nix @@ -0,0 +1,3 @@ +{...}: { + xdg.portal.enable = true; +} |