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 = { home = {
inherit username; inherit username;

View file

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