This commit is contained in:
Joshua Yuen 2026-01-20 15:39:19 -05:00
parent c7d702aa6b
commit 47c9f0fea4
Signed by: josh
GPG Key ID: 502720BC22ED411C
4 changed files with 16 additions and 8 deletions

View File

@ -80,7 +80,10 @@
}; };
}; };
homeConfigurations.josh = home-manager.lib.homeManagerConfiguration { homeConfigurations.${username} = home-manager.lib.homeManagerConfiguration {
specialArgs = {
inherit username;
};
pkgs = nixpkgs.legacyPackages.${system}; pkgs = nixpkgs.legacyPackages.${system};
modules = [ modules = [
./modules/home ./modules/home

View File

@ -5,11 +5,11 @@
imports = [ imports = [
./direnv.nix ./direnv.nix
./fzf.nix ./fzf.nix
./home.nix
./hyprland ./hyprland
./kitty.nix ./kitty.nix
./overlays.nix ./overlays.nix
./stylix.nix ./stylix.nix
./system.nix
./vscodium.nix ./vscodium.nix
./xdg.nix ./xdg.nix
./zsh ./zsh

11
modules/home/home.nix Normal file
View File

@ -0,0 +1,11 @@
{
username,
...
}:
{
home = {
username = "${username}";
homeDirectory = "/home/${username}";
stateVersion = "25.11";
};
}

View File

@ -1,6 +0,0 @@
{
...
}:
{
system.stateVersion = "25.05";
}