This commit is contained in:
2026-03-03 23:06:45 +01:00
parent e3b903d010
commit dc14b13420
45 changed files with 611 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
{ inputs, ... }: {
imports = [
inputs.home-manager.flakeModules.home-manager
];
}

View File

@@ -0,0 +1,14 @@
{ inputs, ... }: {
flake.lib.mkHost = { system, host, extraModules ? [] }:
inputs.nixpkgs.lib.nixosSystem {
inherit system;
specialArgs = {
inherit host system;
pkgs-unstable = import inputs.nixpkgs-unstable {
inherit system;
config.allowUnfree = true;
};
};
modules = [ inputs.self.nixosModules.${host} ] ++ extraModules;
};
}

View File

@@ -0,0 +1,17 @@
{ inputs, ... }: {
systems = [
"x86_64-linux"
];
perSystem = { system, ... }: {
_module.args.pkgs = import inputs.nixpkgs {
inherit system;
config.allowUnfree = true;
};
_module.args.pkgs-unstable = import inputs.nixpkgs-unstable {
inherit system;
config.allowUnfree = true;
};
};
}