2023-08-11 18:55:56 +00:00
|
|
|
{ inputs, self, username }:
|
2023-08-07 21:27:54 +00:00
|
|
|
|
2023-08-08 19:15:31 +00:00
|
|
|
{ desktop }:
|
|
|
|
|
2023-08-07 21:27:54 +00:00
|
|
|
let
|
|
|
|
configuration = import ./configuration.nix;
|
|
|
|
hardware-configuration = import ./hardware-configuration.nix;
|
|
|
|
in
|
|
|
|
inputs.nixpkgs.lib.nixosSystem {
|
|
|
|
modules = [
|
|
|
|
inputs.home-manager.nixosModules.home-manager {
|
|
|
|
home-manager = {
|
2023-08-11 18:55:56 +00:00
|
|
|
extraSpecialArgs = { inherit inputs desktop self username; };
|
2023-08-07 21:27:54 +00:00
|
|
|
useGlobalPkgs = true;
|
|
|
|
useUserPackages = true;
|
|
|
|
users."${username}" = import ./home-manager.nix;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
configuration
|
|
|
|
hardware-configuration
|
|
|
|
];
|
|
|
|
}
|