38 lines
789 B
Nix
38 lines
789 B
Nix
{ nixpkgs, home-manager, ragenix, 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/sail.nix
|
|
|
|
home-manager.nixosModules.home-manager
|
|
|
|
ragenix.nixosModules.default
|
|
|
|
{
|
|
nixpkgs = nixpkgsConfig;
|
|
nix.nixPath = [ "nixpkgs=${nixpkgs}" ];
|
|
home-manager.useGlobalPkgs = true;
|
|
home-manager.useUserPackages = true;
|
|
home-manager.users.daniel = import ../../home/hosts/sail.nix;
|
|
}
|
|
];
|
|
};
|
|
}
|