users: Add system.singleUser

This commit is contained in:
2021-08-04 19:07:42 +02:00
parent 3bf532866b
commit 97c6fece4c
14 changed files with 370 additions and 328 deletions

View File

@@ -1,4 +1,4 @@
{ pkgs, ... }:
{ config, pkgs, ... }:
{
environment = {
@@ -11,7 +11,7 @@
# Otherwise the user won't appear on the GDM login screen
programs.zsh.enable = true;
home-manager.users.alexander.programs.zsh = {
home-manager.users."${config.system.singleUser}".programs.zsh = {
enable = true;
history.ignoreSpace = true;
shellAliases = {