finding hyprland.conf error
This commit is contained in:
@@ -1,4 +1,11 @@
|
|||||||
{ config, pkgs, lib, user, flakeRoot, ... }:
|
{
|
||||||
|
config,
|
||||||
|
pkgs,
|
||||||
|
lib,
|
||||||
|
user,
|
||||||
|
flakeRoot,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
hyprlandConfigDir = "${config.home-manager.users.${user.username}.xdg.configHome}/hypr";
|
hyprlandConfigDir = "${config.home-manager.users.${user.username}.xdg.configHome}/hypr";
|
||||||
@@ -17,7 +24,8 @@ in
|
|||||||
home-manager.users.${user.username} = {
|
home-manager.users.${user.username} = {
|
||||||
home.stateVersion = config.home-manager.users.${user.username}.stateVersion or "25.11";
|
home.stateVersion = config.home-manager.users.${user.username}.stateVersion or "25.11";
|
||||||
home.username = user.username;
|
home.username = user.username;
|
||||||
home.homeDirectory = config.home-manager.users.${user.username}.homeDirectory or "/home/${user.username}";
|
home.homeDirectory =
|
||||||
|
config.home-manager.users.${user.username}.homeDirectory or "/home/${user.username}";
|
||||||
|
|
||||||
wayland.windowManager.hyprland = {
|
wayland.windowManager.hyprland = {
|
||||||
enable = true;
|
enable = true;
|
||||||
@@ -28,14 +36,15 @@ in
|
|||||||
"hypr/.keep" = {
|
"hypr/.keep" = {
|
||||||
text = "";
|
text = "";
|
||||||
};
|
};
|
||||||
} // hyprlandConfs;
|
}
|
||||||
|
// hyprlandConfs;
|
||||||
|
};
|
||||||
|
|
||||||
# Ensure Home Manager is enabled and configured
|
# Ensure Home Manager is enabled and configured
|
||||||
systemd.user.services.home-manager-${user.username} = {
|
systemd.user.services.home-manager-henrov = {
|
||||||
description = "Home Manager for ${user.username}";
|
description = "Home Manager for henrov";
|
||||||
wantedBy = [ "default.target" ];
|
wantedBy = [ "default.target" ];
|
||||||
serviceConfig.Type = "oneshot";
|
serviceConfig.Type = "oneshot";
|
||||||
serviceConfig.ExecStart = "${pkgs.home-manager}/bin/home-manager generate";
|
serviceConfig.ExecStart = "${pkgs.home-manager}/bin/home-manager generate";
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user