2023-04-14 08:23:54 +00:00
|
|
|
{ nixpkgs, home-manager, agenix, attic, inputs, ... }:
|
2023-04-04 12:35:49 +00:00
|
|
|
|
|
|
|
let
|
|
|
|
overlay-neovim = inputs.neovim-nightly-overlay.overlay;
|
|
|
|
overlay-nifoc = inputs.nifoc-overlay.overlay;
|
|
|
|
|
|
|
|
nixpkgsConfig = {
|
|
|
|
overlays = [
|
|
|
|
overlay-neovim
|
|
|
|
overlay-nifoc
|
|
|
|
];
|
|
|
|
|
|
|
|
config = {
|
|
|
|
allowUnfree = true;
|
|
|
|
allowBroken = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
in
|
|
|
|
{
|
|
|
|
system = nixpkgs.lib.nixosSystem {
|
|
|
|
system = "x86_64-linux";
|
|
|
|
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}" ];
|
|
|
|
home-manager.useGlobalPkgs = true;
|
|
|
|
home-manager.useUserPackages = true;
|
|
|
|
home-manager.users.daniel = import ../../home/hosts/attic.nix;
|
|
|
|
}
|
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|