This commit is contained in:
iFargle 2023-08-23 20:06:23 +09:00
parent 2a00db3059
commit 60b6c64a25
2 changed files with 2 additions and 2 deletions

View file

@ -30,4 +30,4 @@
"root@nixos-desktop" = libx.mkHome { hostname = "nixos-desktop"; username = "root"; desktop = "gnome"; }; "root@nixos-desktop" = libx.mkHome { hostname = "nixos-desktop"; username = "root"; desktop = "gnome"; };
}; };
}; };
} }

View file

@ -1,4 +1,4 @@
{ inputs, outputs, stateVersion, hmStateVersion, ... }: { { inputs, outputs, hmStateVersion, stateVersion, ... }: {
# Helper function for generating home-manager configs # Helper function for generating home-manager configs
mkHome = { hostname, username, desktop ? null, platform ? "x86_64-linux" }: inputs.home-manager.lib.homeManagerConfiguration { mkHome = { hostname, username, desktop ? null, platform ? "x86_64-linux" }: inputs.home-manager.lib.homeManagerConfiguration {
pkgs = inputs.nixpkgs.legacyPackages.${platform}; pkgs = inputs.nixpkgs.legacyPackages.${platform};