test
This commit is contained in:
parent
b6a05808d2
commit
594ec7a49f
2 changed files with 12 additions and 11 deletions
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
];
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue