Move nixos user config into home.nix
Signed-off-by: Tristan Druyen <tristan@vault81.de>
This commit is contained in:
parent
fc9059746c
commit
ff3698ade7
2 changed files with 13 additions and 7 deletions
|
@ -87,12 +87,6 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
# Define a user account. Don't forget to set a password with ‘passwd’.
|
# 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.
|
# Enable automatic login for the user.
|
||||||
services.xserver.displayManager.defaultSession = "plasmawayland";
|
services.xserver.displayManager.defaultSession = "plasmawayland";
|
||||||
|
|
14
home.nix
14
home.nix
|
@ -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, ...}: {
|
home-manager.users.tristand = {pkgs, ...}: {
|
||||||
imports = [
|
imports = [
|
||||||
nix-doom-emacs-module
|
nix-doom-emacs-module
|
||||||
|
@ -67,6 +78,7 @@
|
||||||
signal-desktop
|
signal-desktop
|
||||||
statix
|
statix
|
||||||
tailscale
|
tailscale
|
||||||
|
tokei
|
||||||
thunderbird
|
thunderbird
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue