diff --git a/Droidnix/generated/hyprland/hyprland.nix b/Droidnix/generated/hyprland/hyprland.nix index 8bb88da6c..e9fcd3bbc 100644 --- a/Droidnix/generated/hyprland/hyprland.nix +++ b/Droidnix/generated/hyprland/hyprland.nix @@ -9,6 +9,7 @@ }: let hyprlandConf = builtins.readFile (flakeRoot + "/assets/hyprland/conf/hyprland.conf"); + userConfig = import (flakeRoot + "/assets/flake/users/henrov.nix"); in { # Nix settings to use Hyprland's cache for packages @@ -17,7 +18,7 @@ in trusted-public-keys = [ "hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc=" ]; }; - # Install Hyprland and enable it as the window manager! + # Install Hyprland and enable it as the window manager environment.systemPackages = with pkgs; [ hyprland ]; programs.hyprland = { enable = true; @@ -26,6 +27,8 @@ in # Hyprland-specific Home Manager configurations home-manager.users.${user.username} = { + inherit (userConfig) stateVersion homeDirectory; + home.username = user.username; xdg.configFile."hypr/hyprland.conf".text = hyprlandConf; }; }