2022-07-31 20:49:51 +02:00
|
|
|
{ nixpkgs, home-manager, arion, inputs, ... }:
|
2022-07-30 18:19:49 +02:00
|
|
|
|
2022-07-30 21:38:01 +02:00
|
|
|
let
|
2022-07-31 20:48:49 +02:00
|
|
|
overlay-neovim = inputs.neovim-nightly-overlay.overlay;
|
|
|
|
overlay-nifoc = inputs.nifoc-overlay.overlay;
|
2022-07-30 21:38:01 +02:00
|
|
|
|
|
|
|
nixpkgsConfig = {
|
|
|
|
overlays = [
|
2022-07-31 20:48:49 +02:00
|
|
|
overlay-neovim
|
|
|
|
overlay-nifoc
|
2022-07-30 21:38:01 +02:00
|
|
|
];
|
|
|
|
|
|
|
|
config = {
|
|
|
|
allowUnfree = true;
|
|
|
|
allowBroken = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
in
|
2022-07-30 18:19:49 +02:00
|
|
|
{
|
2022-08-01 22:39:14 +02:00
|
|
|
system = nixpkgs.lib.nixosSystem {
|
2022-07-30 18:19:49 +02:00
|
|
|
system = "x86_64-linux";
|
|
|
|
modules = [
|
2022-07-31 12:23:30 +02:00
|
|
|
({
|
|
|
|
nixpkgs.overlays = nixpkgsConfig.overlays;
|
|
|
|
nixpkgs.config = nixpkgsConfig.config;
|
|
|
|
})
|
2022-07-30 21:41:46 +02:00
|
|
|
|
2022-07-30 20:27:33 +02:00
|
|
|
arion.nixosModules.arion
|
|
|
|
|
2022-07-30 18:19:49 +02:00
|
|
|
../hosts/sail.nix
|
2022-07-31 20:48:49 +02:00
|
|
|
|
2022-07-31 20:55:17 +02:00
|
|
|
home-manager.nixosModules.home-manager
|
2022-07-31 20:48:49 +02:00
|
|
|
{
|
|
|
|
nixpkgs = nixpkgsConfig;
|
2022-07-31 21:01:10 +02:00
|
|
|
nix.nixPath = [ "nixpkgs=${nixpkgs}" ];
|
2022-07-31 20:48:49 +02:00
|
|
|
home-manager.useGlobalPkgs = true;
|
|
|
|
home-manager.useUserPackages = true;
|
|
|
|
home-manager.users.daniel = import ../../home/hosts/sail.nix;
|
|
|
|
}
|
2022-07-30 18:19:49 +02:00
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|