From f087e4cda75ce0ab2dcf6f4a8dbcaad9ec876ede Mon Sep 17 00:00:00 2001 From: Syndamia Date: Sun, 7 Jul 2024 08:55:30 +0300 Subject: [all] Improved autoconfig-ing setup and added some configs --- configuration.nix | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'configuration.nix') diff --git a/configuration.nix b/configuration.nix index f82962f..95ca38f 100644 --- a/configuration.nix +++ b/configuration.nix @@ -72,13 +72,16 @@ # # Define a user account. Don't forget to set a password with ‘passwd’. - users.users.kamen = { + # Thanks https://discourse.nixos.org/t/gns3-setcap-and-ubridge-gns3-unable-to-execute-setcap-command/13485/3 + users = { + groups.ubridge = {}; + users.kamen = { isNormalUser = true; - extraGroups = [ "wheel" "audio" "video" "input" "lpadmin" "libvirtd" "lp" "scanner" "plugdev" ]; # Enable ‘sudo’ for the user. + extraGroups = [ "wheel" "audio" "video" "input" "lpadmin" "libvirtd" "lp" "scanner" "plugdev" "docker" "ubridge" ]; # Enable ‘sudo’ for the user. packages = [ ]; shell = pkgs.zsh; homeMode = "711"; # mostly done for httpd access - }; + };}; # TODO # Enable the OpenSSH daemon. -- cgit v1.3.1-23-gd82d