1
0
Fork 0
dotfiles/system/flakes/argon.nix
Daniel Kempkens 1fff2c98ac
All checks were successful
Build / build-amd64-linux (push) Successful in 49s
Build / build-arm64-linux (push) Successful in 5m56s
neovim: use nightly
2024-06-12 18:00:48 +02:00

62 lines
1.2 KiB
Nix

{ nixpkgs, nixos-hardware, home-manager, agenix, inputs, ... }:
let
default-system = "aarch64-linux";
nixpkgsConfig = {
overlays = [
inputs.neovim-nightly-overlay.overlays.default
inputs.nifoc-overlay.overlay
];
config = {
allowUnfree = true;
allowBroken = true;
permittedInsecurePackages = [
"openssl-1.1.1t"
];
};
};
in
rec {
system = nixpkgs.lib.nixosSystem {
system = default-system;
modules = [
../hosts/argon.nix
nixos-hardware.nixosModules.raspberry-pi-4
home-manager.nixosModules.home-manager
agenix.nixosModules.default
{
nixpkgs = nixpkgsConfig;
nix.nixPath = [ "nixpkgs=${nixpkgs}" ];
nix.registry.nixpkgs.flake = nixpkgs;
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
users.daniel = import ../../home/hosts/argon.nix;
};
}
];
};
colmena = {
deployment = {
targetHost = "argon";
targetPort = 22;
targetUser = "root";
buildOnTarget = true;
tags = [ "home" "rpi4" ];
};
nixpkgs.system = default-system;
imports = system._module.args.modules;
};
}