some flake magic or something

This commit is contained in:
2026-02-21 21:02:47 +01:00
parent 3741241dbb
commit c240678e80
11 changed files with 81 additions and 37 deletions

View File

@@ -18,17 +18,42 @@
catppuccin,
...
}:
let
user = "szymon";
# for git
email = "szymon_jozef@proton.me";
full_name = "Szymon P";
in
{
homeConfigurations = {
"arch" = home-manager.lib.homeManagerConfiguration {
pkgs = import nixpkgs { system = "x86_64-linux"; };
extraSpecialArgs = {
isNixOS = false;
username = user;
email = email;
full_name = full_name;
};
modules = [
./home.nix
catppuccin.homeModules.catppuccin
];
homeConfigurations."szymon" = home-manager.lib.homeManagerConfiguration {
pkgs = import nixpkgs {
system = "x86_64-linux";
};
modules = [
./home.nix
catppuccin.homeModules.catppuccin
];
"nixos" = home-manager.lib.homeManagerConfiguration {
pkgs = import nixpkgs { system = "x86_64-linux"; };
extraSpecialArgs = {
isNixOS = true;
username = user;
email = email;
full_name = full_name;
};
modules = [
./home.nix
catppuccin.homeModules.catppuccin
];
};
};
};
}