Fix installation bugs
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
[[ ! -d "${CONFIG}" ]] && mkdir -p "${CONFIG}"
|
||||
[[ ! -L "${CONFIG}"/wallpaper ]] && ln -sf "${DEFAULT_WALLPAPER}" "${CONFIG}"/wallpaper
|
||||
[[ ! -f "${CONFIG}"/mode ]] && echo "${DEFAULT_MODE}" > "${CONFIG}"/mode
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
{ config, ... }:
|
||||
{ config, lib, ... }:
|
||||
let
|
||||
# FIXME: https://github.com/NixOS/nixpkgs/issues/24570
|
||||
# FIXME: https://github.com/NixOS/nixpkgs/issues/305643
|
||||
@@ -80,7 +80,7 @@ in
|
||||
hashedPasswordFile = config.sops.secrets."${user}-password".path;
|
||||
extraGroups = [ "wheel" ];
|
||||
linger = true;
|
||||
uid = 1000;
|
||||
uid = lib.strings.toInt (builtins.readFile ../../../users/${user}/uid);
|
||||
};
|
||||
|
||||
services.getty.autologinUser = user;
|
||||
|
Reference in New Issue
Block a user