1
0
Fork 0
dotfiles/system/flakes/argon.nix

63 lines
1.2 KiB
Nix
Raw Normal View History

{ nixpkgs, nixos-hardware, home-manager, agenix, inputs, ... }:
2023-06-07 18:40:27 +00:00
let
default-system = "aarch64-linux";
overlay-nifoc = inputs.nifoc-overlay.overlay;
nixpkgsConfig = {
overlays = [
overlay-nifoc
];
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;
2023-09-16 22:53:55 +00:00
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
users.daniel = import ../../home/hosts/argon.nix;
};
2023-06-07 18:40:27 +00:00
}
];
};
colmena = {
deployment = {
targetHost = "argon";
targetPort = 22;
targetUser = "root";
buildOnTarget = true;
2024-03-20 23:24:16 +00:00
tags = [ "home" "rpi4" ];
2023-06-07 18:40:27 +00:00
};
nixpkgs.system = default-system;
imports = system._module.args.modules;
2023-06-07 18:40:27 +00:00
};
}