init config

This commit is contained in:
2025-07-04 00:32:17 +02:00
commit 1a20402712
35 changed files with 2383 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
{ lib, nix-flatpak }:
condition: home:
lib.mkIf condition (
{ ... }: {
imports = [
nix-flatpak.homeManagerModules.nix-flatpak
../home-modules
home
];
}
)
+15
View File
@@ -0,0 +1,15 @@
{ self, nixpkgs, home-manager, nix-flatpak, ... }:
hardwareConfig: hostConfig:
nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = {
nix-flatpak = nix-flatpak;
};
modules = [
hardwareConfig
home-manager.nixosModules.home-manager
../modules
hostConfig
];
}
+4
View File
@@ -0,0 +1,4 @@
{ lib }:
condition: user:
lib.mkIf condition (import user)