1
0
Fork 0
dotfiles/system/flakes/tanker.nix
Daniel Kempkens 7a6d3dca53
All checks were successful
Build / build-amd64-linux (push) Successful in 27s
Build / build-arm64-linux (push) Successful in 9m29s
flake: less nixpkgs
2024-07-14 23:05:41 +02:00

65 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; }; };
nixpkgsConfig = {
overlays = [
# overlay-master
inputs.neovim-nightly-overlay.overlays.default
inputs.nifoc-overlay.overlay
];
config = {
allowUnfree = true;
allowBroken = true;
};
};
in
rec {
system = nixpkgs.lib.nixosSystem {
system = default-system;
modules = [
{
nixpkgs = nixpkgsConfig;
nix = {
registry.nixpkgs.to = { type = "path"; path = nixpkgs.outPath; };
nixPath = nixpkgs.lib.mkForce [ "nixpkgs=flake:nixpkgs" ];
};
}
disko.nixosModules.disko
home-manager.nixosModules.home-manager
{
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
users.daniel = import ../../home/hosts/tanker.nix;
};
}
agenix.nixosModules.default
attic.nixosModules.atticd
../hosts/tanker.nix
];
};
colmena = {
deployment = {
targetHost = "tanker";
targetPort = 22;
targetUser = "root";
buildOnTarget = true;
tags = [ "remote" ];
};
nixpkgs.system = default-system;
imports = system._module.args.modules;
};
}