This commit is contained in:
Lucy Hochkamp 2025-07-29 03:02:25 +02:00
parent 9ca7a8d8f6
commit 414e830efa
No known key found for this signature in database
14 changed files with 376 additions and 62 deletions

View file

@ -10,7 +10,9 @@
home-manager.url = "github:nix-community/home-manager";
home-manager.inputs.nixpkgs.follows = "nixpkgs";
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
quadlet.url = "github:SEIAROTg/quadlet-nix";
sops-nix.url = "github:Mic92/sops-nix";
sops-nix.inputs.nixpkgs.follows = "nixpkgs";
impermanence.url = "github:nix-community/impermanence";
# software
lanzaboote = {
@ -58,26 +60,30 @@
};
}
);
overlays = [ self.overlays.default
# lix-module.overlays.default
(final: prev: let
versionSuffix = "-horribly-patched";
lix = final.applyPatches {
name = "lix${versionSuffix}";
src = inputs.lix-module.inputs.lix;
patches = [
(final.fetchpatch {
name = "lix-2.93-structuredAttrs.patch";
url = "https://gerrit.lix.systems/changes/lix~3668/revisions/2/patch?download&raw";
hash = "sha256-JQlAU0texMa7DMrqk447SXJUEu1k4IP9z8mjCHyskVc=";
})
];
};
patchedOverlay = import (inputs.lix-module + "/overlay.nix") {
inherit versionSuffix lix;
};
in
patchedOverlay final prev)
overlays = [
self.overlays.default
# lix-module.overlays.default
(
final: prev:
let
versionSuffix = "-horribly-patched";
lix = final.applyPatches {
name = "lix${versionSuffix}";
src = inputs.lix-module.inputs.lix;
patches = [
(final.fetchpatch {
name = "lix-2.93-structuredAttrs.patch";
url = "https://gerrit.lix.systems/changes/lix~3668/revisions/2/patch?download&raw";
hash = "sha256-JQlAU0texMa7DMrqk447SXJUEu1k4IP9z8mjCHyskVc=";
})
];
};
patchedOverlay = import (inputs.lix-module + "/overlay.nix") {
inherit versionSuffix lix;
};
in
patchedOverlay final prev
)
];
genPkgs =
system:
@ -99,7 +105,7 @@
inputs.kmonad.nixosModules.default
inputs.home-manager.nixosModules.default
inputs.lanzaboote.nixosModules.lanzaboote
inputs.quadlet.nixosModules.quadlet
inputs.sops-nix.nixosModules.sops
]
++ (import ./modules/module-list.nix)
);
@ -111,7 +117,10 @@
packages = [
pkgs.nixfmt-rfc-style
pkgs.nil
pkgs.sops
pkgs.ssh-to-age
];
SOPS_AGE_KEY_CMD = "";
};
};
}