From 16cdfc423ed1e216430d533ec30ee893ec8e9306 Mon Sep 17 00:00:00 2001 From: "info@data-pro.nu" Date: Thu, 12 Mar 2026 16:03:06 +0100 Subject: [PATCH] working on machines --- Droidnix/flake.nix | 32 +++++++++++++++++--------------- 1 file changed, 17 insertions(+), 15 deletions(-) diff --git a/Droidnix/flake.nix b/Droidnix/flake.nix index 7bcf3d334..273310e42 100644 --- a/Droidnix/flake.nix +++ b/Droidnix/flake.nix @@ -65,24 +65,26 @@ # Catppuccin theme module inputs.catppuccin.nixosModules.catppuccin - # Anchoring al the other nixes + # Anchoring all the other nixes ./generated/top.nix # Enable Home Manager for the user - ({ config, pkgs, ... }: - { - home-manager.users.${user.username} = { - enable = true; - homeDirectory = "/home/${user.username}"; - }; - systemd.users.services."home-manager-${user.username}" = { - description = "Home Manager service for ${user.username}"; - wantedBy = [ "multi-user.target" ]; - serviceConfig.Type = "oneshot"; - serviceConfig.RemainAfterExit = true; - serviceConfig.ExecStart = "${pkgs.home-manager}/bin/home-manager switch --flake ${self}#${user.username}@${machine}"; - }; - } + ( + { config, pkgs, ... }: + { + home-manager.users.${user.username} = { + enable = true; + homeDirectory = "/home/${user.username}"; + }; + systemd.users.services."home-manager-${user.username}" = { + description = "Home Manager service for ${user.username}"; + wantedBy = [ "multi-user.target" ]; + serviceConfig.Type = "oneshot"; + serviceConfig.RemainAfterExit = true; + serviceConfig.ExecStart = "${pkgs.home-manager}/bin/home-manager switch --flake ${self}#${user.username}@${machine}"; + }; + } + ) ]; specialArgs = { inherit user inputs;