Move nixos user config into home.nix

Signed-off-by: Tristan Druyen <tristan@vault81.de>
This commit is contained in:
Tristan D. 2023-09-14 18:09:31 +02:00
parent fc9059746c
commit ff3698ade7
Signed by: tristan
SSH key fingerprint: SHA256:U7y6eMb7CQDaTHv9XoX6/BaQnPqyxxKc+Xnfcefi6rY
2 changed files with 13 additions and 7 deletions

View file

@ -87,12 +87,6 @@
};
# Define a user account. Don't forget to set a password with passwd.
users.users.tristand = {
isNormalUser = true;
description = "Tristan Druyen";
extraGroups = ["networkmanager" "wheel" "libvirtd"];
shell = pkgs.fish;
};
# Enable automatic login for the user.
services.xserver.displayManager.defaultSession = "plasmawayland";

View file

@ -1,4 +1,15 @@
{nix-doom-emacs-module, ...}: {
{
nix-doom-emacs-module,
pkgs,
...
}: {
users.users.tristand = {
isNormalUser = true;
description = "Tristan Druyen";
extraGroups = ["networkmanager" "wheel" "libvirtd"];
shell = pkgs.fish;
};
home-manager.users.tristand = {pkgs, ...}: {
imports = [
nix-doom-emacs-module
@ -67,6 +78,7 @@
signal-desktop
statix
tailscale
tokei
thunderbird
];