From f471e598c90b8bfcb6d09f4ab4b991ee315b8786 Mon Sep 17 00:00:00 2001 From: azikx Date: Tue, 22 Oct 2024 09:52:33 +0900 Subject: [PATCH] =?UTF-8?q?update=20=EF=8C=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- host/misc/security.nix | 6 ++++-- host/misc/user.nix | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/host/misc/security.nix b/host/misc/security.nix index 68e3700..d41c0da 100644 --- a/host/misc/security.nix +++ b/host/misc/security.nix @@ -11,8 +11,10 @@ keepEnv = true; persist = true; }]; - extraConfig = - " permit nopass dragora as root cmd light\n permit nopass dragora as root cmd tee\n"; + extraConfig = '' + permit nopass dragora as root cmd light + permit nopass dragora as root cmd tee + ''; }; pam = { # SOMTHING WITH FPRINT services = { swaylock.fprintAuth = true; }; diff --git a/host/misc/user.nix b/host/misc/user.nix index 78c05f9..3b76b5a 100644 --- a/host/misc/user.nix +++ b/host/misc/user.nix @@ -1,4 +1,5 @@ { pkgs, ... }: { + system.stateVersion = "24.05"; users = { users = { # USERS dragora = { @@ -8,5 +9,4 @@ }; }; }; - system.stateVersion = "24.05"; }