nix-conf/flake.nix

46 lines
1.1 KiB
Nix
Raw Normal View History

2023-02-20 16:38:19 +01:00
{
2023-05-19 12:08:06 +02:00
description = "jopejoe1 NixOS configuration";
nixConfig = {
experimental-features = [ "nix-command" "flakes" ];
substituters = [
"https://cache.nixos.org"
];
extra-substituters = [
"https://nix-community.cachix.org"
"https://prismlauncher.cachix.org"
"https://nixos-search.cachix.org"
];
extra-trusted-public-keys = [
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
"prismlauncher.cachix.org-1:GhJfjdP1RFKtFSH3gXTIQCvZwsb2cioisOf91y/bK0w="
"nixos-search.cachix.org-1:1HV3YF8az4fywnH+pAd+CXFEdpTXtv9WpoivPi+H70o="
];
};
2023-02-23 20:34:35 +01:00
2023-05-19 12:08:06 +02:00
inputs = {
nixpkgs.url = github:NixOS/nixpkgs;
2023-02-20 16:38:19 +01:00
nur.url = github:nix-community/NUR;
2023-05-19 12:08:06 +02:00
home-manager= {
2023-02-20 16:38:19 +01:00
url = github:nix-community/home-manager;
inputs.nixpkgs.follows = "nixpkgs";
};
};
2023-02-23 20:34:35 +01:00
2023-05-19 12:08:06 +02:00
outputs = inputs@{
self,
nixpkgs,
home-manager,
...
}: {
2023-05-16 14:55:15 +02:00
nixosConfigurations.kami = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
2023-05-19 12:08:06 +02:00
specialArgs = inputs;
modules = [ ./systems/kami ];
2023-02-22 17:56:24 +01:00
};
2023-05-16 14:55:15 +02:00
};
2023-02-20 16:38:19 +01:00
}