realised how self' is supposed to work and removed all stdenv bullshit

This commit is contained in:
2026-07-07 13:53:09 +01:00
parent dd8369d01e
commit d18e1476dd
8 changed files with 73 additions and 107 deletions

View File

@@ -1,18 +1,23 @@
{
self,
inputs,
wrappers,
self,
moduleWithSystem,
...
}: {
flake.nixosModules.name = {
flake.nixosModules.name = moduleWithSystem ({
pkgs,
lib,
self',
inputs',
...
}: {
}: let
modules = with self.nixosModules; [];
in {
imports = modules;
programs.name = {
enable = true;
package = self.packages.${pkgs.stdenv.hostPlatform.system}.hello;
package = self'.packages.hello;
};
};
});
perSystem = {
pkgs,
lib,