Working on integrating home-manager into NixOS configurations

This commit is contained in:
lulusilly 2025-09-14 11:44:37 -04:00
parent 7a1b4c714f
commit 5b289a3b7d
3 changed files with 114 additions and 2 deletions

View file

@ -1,14 +1,27 @@
{ config, lib, pkgs, inputs, ... }:
{
imports = [
inputs.home-manager.nixosModules.default
];
# Set default user lunita
users.users.lunita = {
isNormalUser = true;
description = "Lunita";
extraGroups = [ "networkmanager" "wheel" ];
packages = with pkgs; [];
packages = with pkgs; [
neovim
firefox
];
shell = pkgs.zsh;
};
home-manager = {
extraSpecialArgs = { inherit inputs; };
users = {
"lunita" = import ./home.nix;
};
};
# Enable automatic system updates
system.autoUpgrade = {
enable = true;