This commit is contained in:
2026-10-17 14:07:09 +01:00
commit a6b84cc417
6 changed files with 127 additions and 0 deletions

12
modules/default.nix Normal file
View File

@@ -0,0 +1,12 @@
{
self,
inputs,
...
}: {
flake.nixosConfigurations.host = inputs.nixpkgs.lib.nixosSystem {
modules = with self.nixosModules; [
system
];
};
}

10
modules/parts.nix Normal file
View File

@@ -0,0 +1,10 @@
{
config = {
systems = [
"x86_64-linux"
"x86_64-darwin"
"aarch64-linux"
"aarch64-darwin"
];
};
}

11
modules/system.nix Normal file
View File

@@ -0,0 +1,11 @@
{...}: {
flake.nixosModules.system = {pkgs, ...}: {
environment.systemPackages = with pkgs; [
git
];
imports = [
/etc/nixos/hardware-configuration.nix
];
};
}