From 781e99f4e8b03de4b28eddb319ef08991f6277ad Mon Sep 17 00:00:00 2001 From: Doloro1978 Date: Tue, 30 Sep 2025 17:02:22 +0100 Subject: [PATCH] changes --- nix/configuration.nix | 4 ++++ nix/modules/chromium/home.nix | 1 + nix/modules/hyprland/nixos.nix | 4 ++++ nix/modules/hyprland/settings.nix | 4 ++-- nix/modules/steam/nixos.nix | 1 + nvim/init.lua | 2 +- 6 files changed, 13 insertions(+), 3 deletions(-) diff --git a/nix/configuration.nix b/nix/configuration.nix index 0d6bff9..1a11c34 100644 --- a/nix/configuration.nix +++ b/nix/configuration.nix @@ -34,6 +34,8 @@ # Configure network connections interactively with nmcli or nmtui. networking.networkmanager.enable = true; + security.rtkit.enable = true; + sops = { defaultSopsFile = ./secrets/users.yaml; secrets = { @@ -77,8 +79,10 @@ fsType = "ext4"; options = [ # If you don't have this options attribute, it'll default to "defaults" # boot options for fstab. Search up fstab mount options you can use + "defaults" "users" # Allows any user to mount and unmount "nofail" # Prevent system from failing if this drive doesn't mount + "exec" ]; }; diff --git a/nix/modules/chromium/home.nix b/nix/modules/chromium/home.nix index 89f70a8..78efe40 100644 --- a/nix/modules/chromium/home.nix +++ b/nix/modules/chromium/home.nix @@ -12,6 +12,7 @@ in { id = "kpmjjdhbcfebfjgdnpjagcndoelnidfj"; } # Control panel for twitter { id = "aighbdamfnndbemigjcbkdklkegkgmpl"; } # Better twitter embeds { id = "enamippconapkdmgfgjchkhakpfinmaj"; } # DeArrow + { id = "bjcnpgekponkjpincbcoflgkdomldlnl"; } # Website Blocker ]; package = pkgs.chromium.override { enableWideVine = true; }; }; diff --git a/nix/modules/hyprland/nixos.nix b/nix/modules/hyprland/nixos.nix index 5f8bdc2..79c732d 100644 --- a/nix/modules/hyprland/nixos.nix +++ b/nix/modules/hyprland/nixos.nix @@ -10,6 +10,10 @@ portalPackage = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland; }; + xdg.portal = { + enable = true; + extraPortals = with pkgs; [ xdg-desktop-portal-gtk ]; + }; environment.sessionVariables.NIXOS_OZONE_WL = "1"; nix.settings = { substituters = [ "https://hyprland.cachix.org" ]; diff --git a/nix/modules/hyprland/settings.nix b/nix/modules/hyprland/settings.nix index 2eec93e..15f3f31 100644 --- a/nix/modules/hyprland/settings.nix +++ b/nix/modules/hyprland/settings.nix @@ -105,7 +105,7 @@ "$mainMod, mouse_up, workspace, e-1" ", home, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle" ", end, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle" - ", F8, sendshortcut, , F8, class:^(com\.obsproject\.Studio)$" + ", F8, pass, class:^(com\.obsproject\.Studio)$" "$mainMod, 0, workspace, 10" "$mainMod SHIFT, 0, movetoworkspace, 10" ] ++ ( @@ -132,7 +132,7 @@ "workspace 6 silent, class:^(steam)$" "workspace 8 silent, class:^(vesktop)$" "workspace 8 silent, class:^(org.telegram.desktop)$" - "workspace 10 silent, class:^(com\.obsproject\.Studio)$" + "workspace 10 silent, class:^(com.obsproject.Studio)$" "workspace 1 silent, initialTitle:^(Discord Popout)$" ]; windowrulev2 = [ diff --git a/nix/modules/steam/nixos.nix b/nix/modules/steam/nixos.nix index 7df0b3f..7761ffd 100644 --- a/nix/modules/steam/nixos.nix +++ b/nix/modules/steam/nixos.nix @@ -29,6 +29,7 @@ keyutils mangohud gamemode + lsof (gamescope.overrideAttrs { enableWsi = true; NIX_CFLAGS_COMPILE = ["-fno-fast-math"]; }) ]; }; diff --git a/nvim/init.lua b/nvim/init.lua index 3277cff..28e7322 120000 --- a/nvim/init.lua +++ b/nvim/init.lua @@ -1 +1 @@ -/nix/store/w3hgd2jyhil85jbrhr0bahb8pgmlnzj6-home-manager-files/.config/nvim/init.lua \ No newline at end of file +/nix/store/p0mzrbl4afkl9miywfxgwwb08wp3fscd-home-manager-files/.config/nvim/init.lua \ No newline at end of file