spun out user config and home config.

This commit is contained in:
2026-02-13 13:35:01 -06:00
parent f1c627e392
commit efb8a6efe5
6 changed files with 82 additions and 25 deletions

View File

@@ -0,0 +1,29 @@
{inputs, self, ...}:{
flake.homeConfigurations."lily" = inputs.home-manager.lib.homeManagerConfiguration {
pkgs = import inputs.nixpkgs { system = "x86_64-linux"; };
modules = [ self.homeModules.lily ];
extraSpecialArgs = { inherit inputs; };
};
flake.homeModules.lily = { pkgs, ... }:{
home = {
username = "lily";
homeDirectory = "/home/lily";
stateVersion = "25.05";
packages = [ ];
file = { };
sessionVariables = { };
};
programs = {
home-manager.enable = true;
bash.enable = true;
git = {
enable = true;
settings.user = {
name = "Lily Anderson";
email = "lilylanderson@zoho.com";
};
lfs.enable = true;
};
};
};
}

View File

@@ -0,0 +1,11 @@
{
flake.nixosModules.lily = { pkgs, ... }: {
users.users.lily = {
isNormalUser = true;
description = "Lily Luna Anderson";
extraGroups = [ "wheel" "lily" ];
packages = with pkgs; [ ];
};
users.groups.lily = { };
};
}