diff options
| Commit | f087e4cda75ce0ab2dcf6f4a8dbcaad9ec876ede (patch) | |
|---|---|---|
| Author | 2024-07-07 08:55:30 +0300 | |
| Committer | 2024-07-07 08:55:30 +0300 | |
| Files | 37d7d19aa83e5d2d7ab9370ddfda9091671d2972 /configuration.nix | |
| nix-f087e4cda75ce0ab2dcf6f4a8dbcaad9ec876ede.tar nix-f087e4cda75ce0ab2dcf6f4a8dbcaad9ec876ede.tar.gz nix-f087e4cda75ce0ab2dcf6f4a8dbcaad9ec876ede.zip | ||
| Parent | 27b0e6bf1f4cc859d331d5c50030d8531c958452 (diff) | |
[all] Improved autoconfig-ing setup and added some configs
1 files changed, 6 insertions, 3 deletions
| -rw-r--r-- | configuration.nix | 9 |
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. |
