2023-03-19 14:51:22 +00:00
|
|
|
{ nixpkgs, home-manager, inputs, ... }:
|
2022-08-01 20:39:14 +00:00
|
|
|
|
|
|
|
let
|
2023-05-03 18:06:30 +00:00
|
|
|
default-system = "aarch64-linux";
|
|
|
|
|
2023-04-07 16:28:01 +00:00
|
|
|
overlay-attic = inputs.attic.overlays.default;
|
2023-05-12 15:39:09 +00:00
|
|
|
overlay-deploy-rs = _: _: { inherit (inputs.deploy-rs.packages.${default-system}) deploy-rs; };
|
2022-08-01 20:39:14 +00:00
|
|
|
overlay-nifoc = inputs.nifoc-overlay.overlay;
|
|
|
|
|
|
|
|
nixpkgsConfig = {
|
|
|
|
overlays = [
|
2023-04-07 16:28:01 +00:00
|
|
|
overlay-attic
|
2023-05-12 15:39:09 +00:00
|
|
|
overlay-deploy-rs
|
2022-08-01 20:39:14 +00:00
|
|
|
overlay-nifoc
|
|
|
|
];
|
|
|
|
|
|
|
|
config = {
|
|
|
|
allowUnfree = true;
|
|
|
|
allowBroken = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
in
|
|
|
|
{
|
|
|
|
system = nixpkgs.lib.nixosSystem {
|
2023-05-03 18:06:30 +00:00
|
|
|
system = default-system;
|
2022-08-01 20:39:14 +00:00
|
|
|
modules = [
|
|
|
|
({
|
|
|
|
nixpkgs.overlays = nixpkgsConfig.overlays;
|
|
|
|
nixpkgs.config = nixpkgsConfig.config;
|
|
|
|
})
|
|
|
|
|
|
|
|
../hosts/adsb-antenna.nix
|
|
|
|
|
|
|
|
home-manager.nixosModules.home-manager
|
|
|
|
{
|
|
|
|
nixpkgs = nixpkgsConfig;
|
|
|
|
nix.nixPath = [ "nixpkgs=${nixpkgs}" ];
|
2023-04-22 23:21:04 +00:00
|
|
|
nix.registry.nixpkgs.flake = nixpkgs;
|
2022-08-01 20:39:14 +00:00
|
|
|
home-manager.useGlobalPkgs = true;
|
|
|
|
home-manager.useUserPackages = true;
|
|
|
|
home-manager.users.daniel = import ../../home/hosts/adsb-antenna.nix;
|
|
|
|
}
|
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|