shuffle and added system abstraction

This commit is contained in:
2026-10-17 14:28:04 +01:00
parent 19f28a9197
commit 88e0bbc11c
7 changed files with 23 additions and 4 deletions

View File

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

View File

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