diff --git a/configuration/modules/gaming.nix b/configuration/modules/gaming.nix index 86b25a7..e389497 100644 --- a/configuration/modules/gaming.nix +++ b/configuration/modules/gaming.nix @@ -14,8 +14,5 @@ }; programs.gamemode.enable = true; programs.gamescope.enable = true; - - # ensure users who need access to this have `cdrom` as `extraGroups` - # Wait for https://github.com/NixOS/nixpkgs/pull/397358 to be in stable to reenable programs.cdemu.enable = true; } diff --git a/devices/tuxedo/configuration.nix b/devices/tuxedo/configuration.nix index 9d94750..de52e87 100644 --- a/devices/tuxedo/configuration.nix +++ b/devices/tuxedo/configuration.nix @@ -43,12 +43,15 @@ hardware.tuxedo-drivers.enable = true; programs.nix-ld.enable = true; + programs.wireshark = { + enable = true; + }; # Define a user account. Don't forget to set a password with ‘passwd’. users.users.worble = { initialPassword = "password"; isNormalUser = true; - extraGroups = [ "wheel" "gamemode" "docker" "cdrom" ]; # Enable ‘sudo’ for the user. + extraGroups = [ "wheel" "gamemode" "docker" "cdrom" "wireshark" ]; # Enable ‘sudo’ for the user. linger = true; }; diff --git a/devices/tuxedo/home.nix b/devices/tuxedo/home.nix index 51f9afc..9ae69e7 100644 --- a/devices/tuxedo/home.nix +++ b/devices/tuxedo/home.nix @@ -113,6 +113,8 @@ Unit = { Description = "rclone-media /mnt/HDD1/Videos/"; After = [ "network.target" "mnt-HDD1.mount" ]; + # Maybe? https://unix.stackexchange.com/questions/281650/systemd-unit-requiresmountsfor-vs-conditionpathisdirectory + # RequiresMountsFor = "/mnt/HDD1/Videos/"; }; Install = { @@ -120,6 +122,8 @@ }; Service = { + RestartSec = 10; + Restart = "on-failure"; Type = "exec"; ExecStart = "${pkgs.writeShellApplication { name = "rclone-media";