This commit is contained in:
iFargle 2023-09-19 09:57:43 +09:00
parent b6a05808d2
commit 594ec7a49f
2 changed files with 12 additions and 11 deletions

View file

@ -1,4 +1,4 @@
{ lib, config, pkgs, inputs, hostname, username, desktop, theme, hmStateVersion, ... }: {
{ lib, config, pkgs, inputs, hostname, platform, username, desktop, theme, hmStateVersion, ... }: {
home = {
inherit username;

View file

@ -44,21 +44,22 @@
theme ? "default"
}: inputs.nixpkgs.lib.nixosSystem {
specialArgs = { inherit inputs outputs desktop hostname username stateVersion gpu platform theme; };
system = "$platform";
modules = [
../nixos
installer
inputs.sops-nix.nixosModules.sops
inputs.lanzaboote.nixosModules.lanzaboote
# inputs.home-manager.nixosModules.home-manager {
# extraSpecialArgs = { inherit inputs outputs desktop hostname platform username hmStateVersion theme; };
#
# home-manager.useGlobalPkgs = true;
# home-manager.useUserPackages = true;
# users.users."$username" = import ../home-manager;
# # imports = [
# # inputs.doom-emacs.hmModule
# # ];
# }
inputs.home-manager.nixosModules.home-manager {
extraSpecialArgs = { inherit inputs outputs desktop hostname platform username hmStateVersion theme; };
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
users.users."$username" = import ../home-manager;
imports = [
inputs.doom-emacs.hmModule
];
}
];
};