feat: add unstable nixpkgs overlay

This commit is contained in:
Julien Hémono 2024-08-07 19:01:00 +02:00
parent fcf66bf672
commit c4be4abdeb
4 changed files with 39 additions and 3 deletions

View file

@ -3,6 +3,7 @@
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.05";
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
# Secrets management
sops-nix = {
@ -27,7 +28,13 @@
};
};
outputs = { self, nixpkgs, ... }@inputs: {
outputs = { self, nixpkgs, ... }@inputs: let
inherit (self) outputs;
in {
# Custom packages and modifications, exported as overlays
overlays = import ./overlays {inherit inputs;};
nixosConfigurations = {
sesame = nixpkgs.lib.nixosSystem {
specialArgs = {inherit inputs;};
@ -37,7 +44,7 @@
];
};
gwiad = nixpkgs.lib.nixosSystem {
specialArgs = {inherit inputs;};
specialArgs = {inherit inputs outputs;};
modules = [
./hosts/gwiad/configuration.nix
# inputs.home-manager.nixosModules.default