1
0
Fork 0
dotfiles/system/flakes/attic.nix
2023-04-04 17:20:09 +02:00

40 lines
831 B
Nix

{ nixpkgs, home-manager, ragenix, attic, inputs, ... }:
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
ragenix.nixosModules.default
attic.nixosModules.atticd
{
nixpkgs = nixpkgsConfig;
nix.nixPath = [ "nixpkgs=${nixpkgs}" ];
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.users.daniel = import ../../home/hosts/attic.nix;
}
];
};
}