49 lines
895 B
Nix
49 lines
895 B
Nix
{
|
|
conf,
|
|
nixpkgs,
|
|
home-manager,
|
|
...
|
|
} @ inputs: let
|
|
inherit (conf) system;
|
|
|
|
pkgs = import ./nixpkgs.nix {inherit system nixpkgs;};
|
|
|
|
specialArgs = inputs;
|
|
in {
|
|
build = nixpkgs.lib.nixosSystem {
|
|
inherit system specialArgs;
|
|
|
|
modules = [
|
|
./base.nix
|
|
|
|
conf.extraConfig
|
|
conf.hardware-configuration
|
|
|
|
./audio.nix
|
|
./boot.nix
|
|
./env.nix
|
|
./networking.nix
|
|
./persistence.nix
|
|
./bluetooth.nix
|
|
./btrfs.nix
|
|
./fonts.nix
|
|
./nix.nix
|
|
./users.nix
|
|
./sops.nix
|
|
./ssh.nix
|
|
./steam.nix
|
|
./stylix.nix
|
|
./wayland.nix
|
|
./zsh.nix
|
|
|
|
home-manager.nixosModules.home-manager
|
|
({config, ...}: {
|
|
home-manager = {
|
|
useGlobalPkgs = true;
|
|
useUserPackages = true;
|
|
extraSpecialArgs = specialArgs // {system-config = config;};
|
|
};
|
|
})
|
|
];
|
|
};
|
|
}
|