2023-04-14 08:23:54 +00:00
|
|
|
{ nixpkgs, home-manager, agenix, attic, inputs, ... }:
|
2023-04-04 12:35:49 +00:00
|
|
|
|
|
|
|
let
|
2023-05-03 18:06:30 +00:00
|
|
|
default-system = "x86_64-linux";
|
|
|
|
|
|
|
|
overlay-neovim = _: _: { neovim-nightly = inputs.neovim-flake.packages.${default-system}.neovim; };
|
2023-04-04 12:35:49 +00:00
|
|
|
overlay-nifoc = inputs.nifoc-overlay.overlay;
|
|
|
|
|
|
|
|
nixpkgsConfig = {
|
|
|
|
overlays = [
|
|
|
|
overlay-neovim
|
|
|
|
overlay-nifoc
|
|
|
|
];
|
|
|
|
|
|
|
|
config = {
|
|
|
|
allowUnfree = true;
|
|
|
|
allowBroken = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
in
|
|
|
|
{
|
|
|
|
system = nixpkgs.lib.nixosSystem {
|
2023-05-03 18:06:30 +00:00
|
|
|
system = default-system;
|
2023-04-04 12:35:49 +00:00
|
|
|
modules = [
|
|
|
|
../hosts/attic.nix
|
|
|
|
|
|
|
|
home-manager.nixosModules.home-manager
|
|
|
|
|
2023-04-14 08:23:54 +00:00
|
|
|
agenix.nixosModules.default
|
2023-04-04 12:35:49 +00:00
|
|
|
|
2023-04-04 15:20:09 +00:00
|
|
|
attic.nixosModules.atticd
|
|
|
|
|
2023-04-04 12:35:49 +00:00
|
|
|
{
|
|
|
|
nixpkgs = nixpkgsConfig;
|
|
|
|
nix.nixPath = [ "nixpkgs=${nixpkgs}" ];
|
2023-04-22 23:21:04 +00:00
|
|
|
nix.registry.nixpkgs.flake = nixpkgs;
|
2023-04-04 12:35:49 +00:00
|
|
|
home-manager.useGlobalPkgs = true;
|
|
|
|
home-manager.useUserPackages = true;
|
|
|
|
home-manager.users.daniel = import ../../home/hosts/attic.nix;
|
|
|
|
}
|
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|