aaaaa
This commit is contained in:
parent
414e830efa
commit
d3a93fd115
35 changed files with 1832 additions and 228 deletions
68
flake.nix
68
flake.nix
|
|
@ -22,9 +22,13 @@
|
|||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
lix-module = {
|
||||
url = "https://git.lix.systems/lix-project/nixos-module/archive/2.93.2-1.tar.gz";
|
||||
# inputs.nixpkgs.follows = "nixpkgs";
|
||||
url = "git+https://git.lix.systems/lix-project/nixos-module.git?ref=release-2.93";
|
||||
inputs.nixpkgs.follows = "nixpkgs-master";
|
||||
};
|
||||
|
||||
polkit.url = "github:polkit-org/polkit";
|
||||
polkit.flake = false;
|
||||
|
||||
zen-browser.url = "github:0xc000022070/zen-browser-flake";
|
||||
zen-browser.inputs.nixpkgs.follows = "nixpkgs-master";
|
||||
kmonad = {
|
||||
|
|
@ -33,8 +37,12 @@
|
|||
};
|
||||
niri.url = "github:YaLTeR/niri";
|
||||
niri.inputs.nixpkgs.follows = "nixpkgs-master";
|
||||
# nheko.url = "github:Nheko-Reborn/nheko";
|
||||
# nheko.flake = false;
|
||||
xwayland-satellite.url = "github:Supreeeme/xwayland-satellite";
|
||||
xwayland-satellite.inputs.nixpkgs.follows = "nixpkgs-master";
|
||||
nheko.url = "github:Nheko-Reborn/nheko";
|
||||
nheko.flake = false;
|
||||
mtxclient.url = "github:Nheko-Reborn/mtxclient";
|
||||
mtxclient.flake = false;
|
||||
|
||||
# helix
|
||||
helix.url = "github:sofusa/helix-pull-diagnostics";
|
||||
|
|
@ -42,6 +50,13 @@
|
|||
csharp-language-server.url = "github:sofusa/csharp-language-server";
|
||||
csharp-language-server.inputs.nixpkgs.follows = "nixpkgs-master";
|
||||
|
||||
# authentik
|
||||
|
||||
authentik.url = "github:nix-community/authentik-nix";
|
||||
authentik.inputs.nixpkgs.follows = "nixpkgs";
|
||||
terranix.url = "github:terranix/terranix";
|
||||
terranix.inputs.nixpkgs.follows = "nixpkgs";
|
||||
|
||||
};
|
||||
|
||||
outputs =
|
||||
|
|
@ -62,28 +77,7 @@
|
|||
);
|
||||
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
|
||||
)
|
||||
# inputs.lix-module.overlays.default
|
||||
];
|
||||
genPkgs =
|
||||
system:
|
||||
|
|
@ -93,19 +87,27 @@
|
|||
};
|
||||
in
|
||||
{
|
||||
overlays.default = final: prev: {
|
||||
unstable = import nixpkgs-master {
|
||||
system = prev.system;
|
||||
config.allowUnfree = true;
|
||||
};
|
||||
};
|
||||
overlays.default =
|
||||
final: prev:
|
||||
(
|
||||
{
|
||||
unstable = import nixpkgs-master {
|
||||
system = prev.system;
|
||||
config.allowUnfree = true;
|
||||
};
|
||||
}
|
||||
// (import ./overlays inputs final prev)
|
||||
);
|
||||
|
||||
nixosConfigurations = lib.xyno.loadInstances ./instances (
|
||||
[
|
||||
# inputs.lix-module.nixosModules.default
|
||||
inputs.kmonad.nixosModules.default
|
||||
inputs.home-manager.nixosModules.default
|
||||
inputs.lanzaboote.nixosModules.lanzaboote
|
||||
inputs.sops-nix.nixosModules.sops
|
||||
inputs.impermanence.nixosModules.impermanence
|
||||
inputs.lix-module.nixosModules.lixFromNixpkgs
|
||||
inputs.authentik.nixosModules.default
|
||||
]
|
||||
++ (import ./modules/module-list.nix)
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue