working on machines

This commit is contained in:
2026-03-12 16:03:06 +01:00
parent 615ed922e6
commit 16cdfc423e
+17 -15
View File
@@ -65,24 +65,26 @@
# Catppuccin theme module # Catppuccin theme module
inputs.catppuccin.nixosModules.catppuccin inputs.catppuccin.nixosModules.catppuccin
# Anchoring al the other nixes # Anchoring all the other nixes
./generated/top.nix ./generated/top.nix
# Enable Home Manager for the user # Enable Home Manager for the user
({ config, pkgs, ... }: (
{ { config, pkgs, ... }:
home-manager.users.${user.username} = { {
enable = true; home-manager.users.${user.username} = {
homeDirectory = "/home/${user.username}"; enable = true;
}; homeDirectory = "/home/${user.username}";
systemd.users.services."home-manager-${user.username}" = { };
description = "Home Manager service for ${user.username}"; systemd.users.services."home-manager-${user.username}" = {
wantedBy = [ "multi-user.target" ]; description = "Home Manager service for ${user.username}";
serviceConfig.Type = "oneshot"; wantedBy = [ "multi-user.target" ];
serviceConfig.RemainAfterExit = true; serviceConfig.Type = "oneshot";
serviceConfig.ExecStart = "${pkgs.home-manager}/bin/home-manager switch --flake ${self}#${user.username}@${machine}"; serviceConfig.RemainAfterExit = true;
}; serviceConfig.ExecStart = "${pkgs.home-manager}/bin/home-manager switch --flake ${self}#${user.username}@${machine}";
} };
}
)
]; ];
specialArgs = { specialArgs = {
inherit user inputs; inherit user inputs;