From 91b7973e4503bffa41d24e34bc8d51a15ae5b1ed Mon Sep 17 00:00:00 2001 From: foglar Date: Mon, 9 Dec 2024 18:28:32 +0100 Subject: [PATCH] fix --- flake.nix | 1 - nixos/configuration.nix | 3 +-- nixos/desktop/hyprland/hyprland.nix | 10 ++++++++-- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/flake.nix b/flake.nix index c9cb605..94171e2 100644 --- a/flake.nix +++ b/flake.nix @@ -73,7 +73,6 @@ ./nixos/configuration.nix inputs.stylix.nixosModules.stylix inputs.nix-ld.nixosModules.nix-ld - {programs.nix-ld.dev.enable = true;} ]; }; }; diff --git a/nixos/configuration.nix b/nixos/configuration.nix index d20e3b3..f97d8b0 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -14,6 +14,7 @@ nix.settings.experimental-features = ["nix-command" "flakes"]; programs.nix-ld.dev.enable = true; + # Bootloader. boot.loader.systemd-boot.enable = true; @@ -26,8 +27,6 @@ }; environment.sessionVariables = { - WLR_NO_HARDWARE_CURSORS = "1"; - NIXOS_OZONE_WL = "1"; EDITOR = "nvim"; FLAKE = "/home/${username}/dotfiles"; diff --git a/nixos/desktop/hyprland/hyprland.nix b/nixos/desktop/hyprland/hyprland.nix index 8d213fb..36dcf36 100644 --- a/nixos/desktop/hyprland/hyprland.nix +++ b/nixos/desktop/hyprland/hyprland.nix @@ -22,8 +22,9 @@ wlogout.enable = lib.mkDefault true; xdg.portal.enable = true; - xdg.portal.config = { common = { - default = ["gtk"]; + xdg.portal.config = { + common = { + default = ["gtk"]; }; }; xdg.portal.extraPortals = [pkgs.xdg-desktop-portal-hyprland]; @@ -35,6 +36,11 @@ pkgs.toybox ]; + environment.sessionVariables = { + WLR_NO_HARDWARE_CURSORS = "1"; + NIXOS_OZONE_WL = "1"; + }; + stylix.targets = { dunst.enable = true; kde.enable = true;