kiosk: use sops kiosk secrets file for user
This commit is contained in:
parent
7808b7ff5b
commit
eeef06869d
|
@ -1,14 +1,17 @@
|
|||
{ pkgs, lib, ... }:
|
||||
{ pkgs, config, lib, ... }:
|
||||
{
|
||||
|
||||
imports = [
|
||||
./base.nix
|
||||
];
|
||||
sops.secrets."passwd/kiosk".neededForUsers = true;
|
||||
|
||||
users.users.kiosk = {
|
||||
packages = with pkgs;[ chromium vscode spotify tartube-yt-dlp ];
|
||||
group = "kiosk";
|
||||
isNormalUser = true;
|
||||
uid = 1003;
|
||||
passwordFile = config.sops.secrets."passwd/kiosk".path;
|
||||
extraGroups = [ "wheel" "audio" "pulse" "pipewire" ];
|
||||
};
|
||||
users.groups.kiosk.gid = 989 ;
|
||||
|
|
Loading…
Reference in a new issue