This commit is contained in:
2026-02-23 19:51:37 +01:00
parent e55ae7e6c1
commit e690f58b9a
6 changed files with 64 additions and 25 deletions

View File

@@ -7,7 +7,13 @@
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
catppuccin.url = "github:catppuccin/nix";
wallpapers = {
url = "github:orangci/walls-catppuccin-mocha";
flake = false;
};
nixvim = {
url = "github:nix-community/nixvim";
inputs.nixpkgs.follows = "nixpkgs";
@@ -20,21 +26,31 @@
home-manager,
catppuccin,
nixvim,
wallpapers,
...
}:
}@inputs:
let
username = "szymon";
# for git
email = "szymon_jozef@proton.me";
full_name = "Szymon P";
userConfig = {
username = "szymon";
# for git
email = "szymon_jozef@proton.me";
fullName = "Szymon P";
};
pathConfig = {
wallpaper = "Obrazy/tapety/catppuccin";
};
in
{
homeConfigurations = {
"arch" = home-manager.lib.homeManagerConfiguration {
pkgs = import nixpkgs { system = "x86_64-linux"; };
extraSpecialArgs = {
inherit username email full_name;
inherit
inputs
userConfig
pathConfig
;
isNixOS = false;
};
modules = [
@@ -47,13 +63,17 @@
"nixos" = home-manager.lib.homeManagerConfiguration {
pkgs = import nixpkgs { system = "x86_64-linux"; };
extraSpecialArgs = {
inherit username email full_name;
inherit
inputs
userConfig
pathConfig
;
isNixOS = true;
};
modules = [
./home.nix
catppuccin.homeModules.catppuccin
nixvim.homeManagerModules.nixvim
nixvim.homeModules.nixvim
];
};
};