1
0
Fork 0
dotfiles/system/flakes/adsb-antenna.nix

44 lines
969 B
Nix

{ nixpkgs, home-manager, arion, inputs, ... }:
let
overlay-arion = arion.overlay;
overlay-neovim = inputs.neovim-nightly-overlay.overlay;
overlay-nifoc = inputs.nifoc-overlay.overlay;
nixpkgsConfig = {
overlays = [
overlay-arion
overlay-neovim
overlay-nifoc
];
config = {
allowUnfree = true;
allowBroken = true;
};
};
in
{
system = nixpkgs.lib.nixosSystem {
system = "aarch64-linux";
modules = [
({
nixpkgs.overlays = nixpkgsConfig.overlays;
nixpkgs.config = nixpkgsConfig.config;
})
arion.nixosModules.arion
../hosts/adsb-antenna.nix
home-manager.nixosModules.home-manager
{
nixpkgs = nixpkgsConfig;
nix.nixPath = [ "nixpkgs=${nixpkgs}" ];
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.users.daniel = import ../../home/hosts/adsb-antenna.nix;
}
];
};
}