Renewed binds
This commit is contained in:
@@ -9,6 +9,7 @@
|
|||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
hyprlandConf = builtins.readFile (flakeRoot + "/assets/hyprland/conf/hyprland.conf");
|
hyprlandConf = builtins.readFile (flakeRoot + "/assets/hyprland/conf/hyprland.conf");
|
||||||
|
userConfig = import (flakeRoot + "/assets/flake/users/henrov.nix");
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
# Nix settings to use Hyprland's cache for packages
|
# Nix settings to use Hyprland's cache for packages
|
||||||
@@ -17,7 +18,7 @@ in
|
|||||||
trusted-public-keys = [ "hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc=" ];
|
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 ];
|
environment.systemPackages = with pkgs; [ hyprland ];
|
||||||
programs.hyprland = {
|
programs.hyprland = {
|
||||||
enable = true;
|
enable = true;
|
||||||
@@ -26,6 +27,8 @@ in
|
|||||||
|
|
||||||
# Hyprland-specific Home Manager configurations
|
# Hyprland-specific Home Manager configurations
|
||||||
home-manager.users.${user.username} = {
|
home-manager.users.${user.username} = {
|
||||||
|
inherit (userConfig) stateVersion homeDirectory;
|
||||||
|
home.username = user.username;
|
||||||
xdg.configFile."hypr/hyprland.conf".text = hyprlandConf;
|
xdg.configFile."hypr/hyprland.conf".text = hyprlandConf;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user