Adapt user to use the new shell module

This commit is contained in:
xmm16 2024-12-14 15:12:23 -03:00
commit 10ef4e5c88
No known key found for this signature in database

View file

@ -1,9 +1,7 @@
{ {pkgs, ...}: {
pkgs,
lib,
...
}: {
alqueva.users.xmm = { alqueva.users.xmm = {
shell = pkgs.zsh;
packages = builtins.attrValues { packages = builtins.attrValues {
inherit inherit
(pkgs) (pkgs)
@ -67,6 +65,7 @@
"libvirtd" "libvirtd"
]; ];
}; };
services.emacs = { services.emacs = {
enable = true; enable = true;
package = pkgs.emacs30-pgtk; package = pkgs.emacs30-pgtk;
@ -97,9 +96,6 @@
}; };
}; };
users.users.xmm.shell = lib.mkForce pkgs.zsh;
users.users.xmm.useDefaultShell = lib.mkForce true;
programs.zsh = { programs.zsh = {
enable = true; enable = true;
enableCompletion = true; enableCompletion = true;