summary refs log tree commit diff
path: root/host
diff options
context:
space:
mode:
Diffstat (limited to 'host')
-rw-r--r--host/Rory-laptop/configuration.nix3
-rw-r--r--host/Rory-laptop/edu/nodejs-dev.nix11
-rw-r--r--host/Rory-laptop/optional/gui/wayland.nix6
3 files changed, 18 insertions, 2 deletions
diff --git a/host/Rory-laptop/configuration.nix b/host/Rory-laptop/configuration.nix

index bb0467b..894878a 100644 --- a/host/Rory-laptop/configuration.nix +++ b/host/Rory-laptop/configuration.nix
@@ -21,7 +21,7 @@ args@{ ./nginx.nix ./edu/vmware.nix - #./edu/nodejs-dev.nix + ./edu/nodejs-dev.nix # hardware-specific imports #./optional/hardware-specific/nvidia.nix @@ -194,6 +194,7 @@ args@{ mullvad-vpn blueman ft2-clone + wxmaxima ]; environment.etc."pkcs11/modules/opensc-pkcs11".text = '' module: ${pkgs.opensc}/lib/opensc-pkcs11.so diff --git a/host/Rory-laptop/edu/nodejs-dev.nix b/host/Rory-laptop/edu/nodejs-dev.nix
index 4a98c2e..3850cb9 100644 --- a/host/Rory-laptop/edu/nodejs-dev.nix +++ b/host/Rory-laptop/edu/nodejs-dev.nix
@@ -11,4 +11,15 @@ ]; + services.mongodb = { + enable = true; + package = pkgs.mongodb-ce; + enableAuth = true; + initialRootPasswordFile = "/etc/mongo-pass"; + #bind_ip = "/run/mongodb.sock"; + extraConfig = '' + net.unixDomainSocket.filePermissions: 0777 + ''; + }; + } diff --git a/host/Rory-laptop/optional/gui/wayland.nix b/host/Rory-laptop/optional/gui/wayland.nix
index c105196..ab72165 100644 --- a/host/Rory-laptop/optional/gui/wayland.nix +++ b/host/Rory-laptop/optional/gui/wayland.nix
@@ -15,7 +15,7 @@ # SDL: export SDL_VIDEODRIVER=wayland # QT (needs qt5.qtwayland in systemPackages): - export QT_QPA_PLATFORM=wayland-egl + export QT_QPA_PLATFORM=wayland export QT_WAYLAND_DISABLE_WINDOWDECORATION="1" # Fix for some Java AWT applications (e.g. Android Studio), # use this if they aren't displayed properly: @@ -39,11 +39,15 @@ programs.hyprland = { enable = true; package = hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland; + xwayland.enable = true; + withUWSM = true; }; + security.rtkit.enable = true; programs.hyprlock.enable = true; environment.systemPackages = with pkgs;[ wmenu + kdePackages.xwaylandvideobridge ]; environment.etc."hyprPlugins" = {