1
0
Fork 0
dotfiles/system/flakes/tanker.nix
Daniel Kempkens 3182177933
All checks were successful
Build / build-amd64-linux (push) Successful in 59s
Build / build-arm64-linux (push) Successful in 3m22s
Update deps
2024-02-17 16:20:34 +01:00

66 lines
1.4 KiB
Nix

{ nixpkgs, disko, home-manager, agenix, attic, inputs, ... }:
let
default-system = "x86_64-linux";
# overlay-master = _: _: { pkgs-master = import inputs.nixpkgs-master { system = default-system; }; };
# overlay-unstable = _: _: { pkgs-unstable = import inputs.nixpkgs { system = default-system; }; };
overlay-nifoc = inputs.nifoc-overlay.overlay;
nixpkgsConfig = {
overlays = [
# overlay-master
# overlay-unstable
overlay-nifoc
];
config = {
allowUnfree = true;
allowBroken = true;
permittedInsecurePackages = [
"openssl-1.1.1t"
];
};
};
in
rec {
system = nixpkgs.lib.nixosSystem {
system = default-system;
modules = [
disko.nixosModules.disko
../hosts/tanker.nix
home-manager.nixosModules.home-manager
agenix.nixosModules.default
attic.nixosModules.atticd
{
nixpkgs = nixpkgsConfig;
nix.nixPath = [ "nixpkgs=${nixpkgs}" ];
nix.registry.nixpkgs.flake = nixpkgs;
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
users.daniel = import ../../home/hosts/tanker.nix;
};
}
];
};
colmena = {
deployment = {
targetHost = "tanker";
targetPort = 22;
targetUser = "root";
buildOnTarget = true;
};
nixpkgs.system = default-system;
imports = system._module.args.modules;
};
}