mirror of
https://github.com/szymon-jozef/amazing-dotfiles.git
synced 2026-09-07 20:20:43 +02:00
some flake magic or something
This commit is contained in:
41
flake.nix
41
flake.nix
@@ -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
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user