Working on integrating home-manager into NixOS configurations
This commit is contained in:
parent
7a1b4c714f
commit
5b289a3b7d
3 changed files with 114 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue