1
0
Fork 0
dotfiles/system/flakes/sail.nix

41 lines
828 B
Nix
Raw Normal View History

{ nixpkgs, home-manager, ragenix, 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 = [
../hosts/sail.nix
2022-07-31 20:48:49 +02:00
2022-07-31 20:55:17 +02:00
home-manager.nixosModules.home-manager
2023-01-02 00:30:54 +01:00
ragenix.nixosModules.default
2023-02-05 17:51:04 +01:00
arion.nixosModules.arion
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
];
};
}