desktop/niri: lisgd for touchscreen gestures

Signed-off-by: unexplrd <unexplrd@linerds.us>
This commit is contained in:
2025-05-31 14:16:19 +03:00
parent 2108320d1d
commit 920c75e997
2 changed files with 61 additions and 33 deletions

View File

@ -2,8 +2,10 @@
inputs,
config,
pkgs,
lib,
...
}: let
inherit (config.networking) hostName;
inherit (config.sops) secrets;
inherit (inputs) mysecrets;
sshKeys = f: "${mysecrets}/ssh/user/id_${f}_ed25519.pub";
@ -13,15 +15,20 @@ in {
users.users = {
user = {
hashedPasswordFile = secrets."user-password-hashed".path;
extraGroups = ["wheel" "video" "libvirtd" "dialout"];
extraGroups =
["wheel" "video" "libvirtd" "dialout"]
/*
for lisgd
*/
++ lib.optional (hostName == "morphius" && config.desktop.niri.enable) "input";
isNormalUser = true;
shell = pkgs.fish;
openssh.authorizedKeys.keyFiles = map sshKeys [
"dunamis"
"eldrid"
"sarien"
"legion"
"morphius"
"sarien"
];
};
};