dotfiles/system/flakes/sail.nix

39 lines
789 B
Nix
Raw Normal View History

2023-03-19 00:10:50 +00:00
{ nixpkgs, home-manager, ragenix, inputs, ... }:
2022-07-30 16:19:49 +00:00
2022-07-30 19:38:01 +00:00
let
2022-07-31 18:48:49 +00:00
overlay-neovim = inputs.neovim-nightly-overlay.overlay;
overlay-nifoc = inputs.nifoc-overlay.overlay;
2022-07-30 19:38:01 +00:00
nixpkgsConfig = {
overlays = [
2022-07-31 18:48:49 +00:00
overlay-neovim
overlay-nifoc
2022-07-30 19:38:01 +00:00
];
config = {
allowUnfree = true;
allowBroken = true;
};
};
in
2022-07-30 16:19:49 +00:00
{
2022-08-01 20:39:14 +00:00
system = nixpkgs.lib.nixosSystem {
2022-07-30 16:19:49 +00:00
system = "x86_64-linux";
modules = [
../hosts/sail.nix
2022-07-31 18:48:49 +00:00
2022-07-31 18:55:17 +00:00
home-manager.nixosModules.home-manager
2023-01-01 23:30:54 +00:00
ragenix.nixosModules.default
2023-02-05 16:51:04 +00:00
2022-07-31 18:48:49 +00:00
{
nixpkgs = nixpkgsConfig;
2022-07-31 19:01:10 +00:00
nix.nixPath = [ "nixpkgs=${nixpkgs}" ];
2022-07-31 18:48:49 +00:00
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.users.daniel = import ../../home/hosts/sail.nix;
}
2022-07-30 16:19:49 +00:00
];
};
}