From eff0fa6153267919b20f80da2335130d7e0a6afa Mon Sep 17 00:00:00 2001 From: tulg Date: Sun, 8 Feb 2026 13:08:15 +0300 Subject: [PATCH] i dont remember what i did, flake update --- config/hypr/hyprland.conf | 2 +- flake.lock | 60 +++++++++++------------ hosts/virgil/hardware-configuration.nix | 5 ++ modules/home-manager/desktop/hyprland.nix | 13 +++-- modules/home-manager/pkgs.nix | 4 ++ modules/nixos/common.nix | 4 +- modules/nixos/gaming.nix | 1 + modules/nixos/services.nix | 18 ++++--- 8 files changed, 61 insertions(+), 46 deletions(-) diff --git a/config/hypr/hyprland.conf b/config/hypr/hyprland.conf index 34b742a..bbccb9d 100644 --- a/config/hypr/hyprland.conf +++ b/config/hypr/hyprland.conf @@ -280,7 +280,7 @@ blurls = gtk-layer-shell #windowrule = stayfocused, ^(wofi)$ # window rules with evaluation -windowrulev2 = opacity 0.85 0.85,floating:1 +#windowrulev2 = opacity 0.85 0.85,floating:1 exec-once = mako exec-once = systemctl --user start hyprpolkitagent diff --git a/flake.lock b/flake.lock index 3cdcd1d..97151b7 100644 --- a/flake.lock +++ b/flake.lock @@ -91,11 +91,11 @@ ] }, "locked": { - "lastModified": 1768923567, - "narHash": "sha256-GVJ0jKsyXLuBzRMXCDY6D5J8wVdwP1DuQmmvYL/Vw/Q=", + "lastModified": 1769524058, + "narHash": "sha256-zygdD6X1PcVNR2PsyK4ptzrVEiAdbMqLos7utrMDEWE=", "owner": "nix-community", "repo": "disko", - "rev": "00395d188e3594a1507f214a2f15d4ce5c07cb28", + "rev": "71a3fc97d80881e91710fe721f1158d3b96ae14d", "type": "github" }, "original": { @@ -201,11 +201,11 @@ ] }, "locked": { - "lastModified": 1769289524, - "narHash": "sha256-6Cwtvzrw79cOk1lCzN2aKSVrpgSOSQoYhyMmhXXZjTA=", + "lastModified": 1770491427, + "narHash": "sha256-8b+0vixdqGnIIcgsPhjdX7EGPdzcVQqYxF+ujjex654=", "owner": "nix-community", "repo": "home-manager", - "rev": "2539eba97a6df237d75617c25cd2dbef92df3d5b", + "rev": "cbd8a72e5fe6af19d40e2741dc440d9227836860", "type": "github" }, "original": { @@ -222,11 +222,11 @@ ] }, "locked": { - "lastModified": 1768434960, - "narHash": "sha256-cJbFn17oyg6qAraLr+NVeNJrXsrzJdrudkzI4H2iTcg=", + "lastModified": 1769872935, + "narHash": "sha256-07HMIGQ/WJeAQJooA7Kkg1SDKxhAiV6eodvOwTX6WKI=", "owner": "nix-community", "repo": "home-manager", - "rev": "b4d88c9ac42ae1a745283f6547701da43b6e9f9b", + "rev": "f4ad5068ee8e89e4a7c2e963e10dd35cd77b37b7", "type": "github" }, "original": { @@ -293,11 +293,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1769018530, - "narHash": "sha256-MJ27Cy2NtBEV5tsK+YraYr2g851f3Fl1LpNHDzDX15c=", + "lastModified": 1770197578, + "narHash": "sha256-AYqlWrX09+HvGs8zM6ebZ1pwUqjkfpnv8mewYwAo+iM=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "88d3861acdd3d2f0e361767018218e51810df8a1", + "rev": "00c21e4c93d963c50d4c0c89bfa84ed6e0694df2", "type": "github" }, "original": { @@ -339,11 +339,11 @@ }, "nixpkgs_2": { "locked": { - "lastModified": 1769018530, - "narHash": "sha256-MJ27Cy2NtBEV5tsK+YraYr2g851f3Fl1LpNHDzDX15c=", + "lastModified": 1770197578, + "narHash": "sha256-AYqlWrX09+HvGs8zM6ebZ1pwUqjkfpnv8mewYwAo+iM=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "88d3861acdd3d2f0e361767018218e51810df8a1", + "rev": "00c21e4c93d963c50d4c0c89bfa84ed6e0694df2", "type": "github" }, "original": { @@ -360,11 +360,11 @@ ] }, "locked": { - "lastModified": 1769296157, - "narHash": "sha256-1v2K3unpkHQLuqNwwPnNFluJ6NQy9QqMMqjl9zh6lZ4=", + "lastModified": 1770543184, + "narHash": "sha256-2FFYjurrYjCAT6bpN2Fv63G6vDuWybB91uvqBjJfcWE=", "owner": "noctalia-dev", "repo": "noctalia-shell", - "rev": "ab3bcfb0d203b13276a3bf3818ce99e97a732bb3", + "rev": "bf1a0f76bb5ca48991d51130022af6bead64d153", "type": "github" }, "original": { @@ -405,11 +405,11 @@ ] }, "locked": { - "lastModified": 1768985439, - "narHash": "sha256-qkU4r+l+UPz4dutMMRZSin64HuVZkEv9iFpu9yMWVY0=", + "lastModified": 1770542768, + "narHash": "sha256-XzvFb2305PjC465D+ederTO27puG3S8GmDXcUB79J1w=", "owner": "outfoxxed", "repo": "quickshell", - "rev": "191085a8821b35680bba16ce5411fc9dbe912237", + "rev": "395a1301a83e98dafc325289630ccacda5d69607", "type": "github" }, "original": { @@ -438,11 +438,11 @@ "systems": "systems" }, "locked": { - "lastModified": 1769284610, - "narHash": "sha256-rpLpaPK0AEx4oVbL03MvUkDdGopQaWrm5kIWH0XpKeI=", + "lastModified": 1770528352, + "narHash": "sha256-KO51BALxgLUlhg1CqQgA3Rj8vgAcDvoLxzNLTxD65cc=", "owner": "Gerg-L", "repo": "spicetify-nix", - "rev": "b4e47a7bf6786fe37dea6cee6b7d48310d759539", + "rev": "9f4ab243968118026f4ff82f7ce41d30319e2bf0", "type": "github" }, "original": { @@ -472,11 +472,11 @@ "tinted-zed": "tinted-zed" }, "locked": { - "lastModified": 1769202931, - "narHash": "sha256-4IZuCMjlWEtS6rVXozVXaJG6QADHVncXC29PLZr6ZB4=", + "lastModified": 1770504996, + "narHash": "sha256-CjgGVXmYuEqx9rT4o1EKZVhacp6TuwZRicmaekkSvfE=", "owner": "nix-community", "repo": "stylix", - "rev": "749285c90e3e35ebe0952c86838f3089abbc7939", + "rev": "044ac0cc6d914f1dac22a728013bc3797f77cfab", "type": "github" }, "original": { @@ -604,11 +604,11 @@ ] }, "locked": { - "lastModified": 1769296843, - "narHash": "sha256-J2ZqG5LFZkthn/UGn6nGHNW2xFZ0Sn9WhZVBoBIxIiI=", + "lastModified": 1770480420, + "narHash": "sha256-zm86JvwyurSk06eZD1/Cdc4eF84gWIxeOmBJ5iUxRHw=", "owner": "0xc000022070", "repo": "zen-browser-flake", - "rev": "4bee50bdfd104301973e404d7602b1510d549f52", + "rev": "d1540a889b63da17f735f1d4bebd9ebfcd7c267a", "type": "github" }, "original": { diff --git a/hosts/virgil/hardware-configuration.nix b/hosts/virgil/hardware-configuration.nix index 1ac0d11..be941d3 100644 --- a/hosts/virgil/hardware-configuration.nix +++ b/hosts/virgil/hardware-configuration.nix @@ -16,6 +16,11 @@ boot.initrd.kernelModules = []; boot.kernelModules = ["kvm-amd" "nct6775" "asus-wmi-sensors"]; boot.extraModulePackages = []; + fileSystems."/mnt/share" = { + device = "192.168.1.200:/mnt/hdds/Main"; + fsType = "nfs"; + options = ["_netdev" "noauto" "x-systemd.automount" "x-systemd.mount-timeout=10" "timeo=14" "x-systemd.idle-timeout=600"]; + }; swapDevices = []; fileSystems."/mnt/backup" = { diff --git a/modules/home-manager/desktop/hyprland.nix b/modules/home-manager/desktop/hyprland.nix index 254d85a..d621751 100644 --- a/modules/home-manager/desktop/hyprland.nix +++ b/modules/home-manager/desktop/hyprland.nix @@ -18,13 +18,12 @@ }; xdg.portal = { - enable = true; + #enable = true; # wlr.enable = true; - config.common.default = "hyprland"; - xdgOpenUsePortal = true; - extraPortals = [ - pkgs.xdg-desktop-portal-hyprland - pkgs.xdg-desktop-portal - ]; + #xdgOpenUsePortal = true; + #extraPortals = [ + # pkgs.xdg-desktop-portal-hyprland + # pkgs.xdg-desktop-portal + #]; }; } diff --git a/modules/home-manager/pkgs.nix b/modules/home-manager/pkgs.nix index eeb4030..c938d23 100644 --- a/modules/home-manager/pkgs.nix +++ b/modules/home-manager/pkgs.nix @@ -12,6 +12,7 @@ restic rose-pine-gtk-theme alejandra + lutris prismlauncher arc-theme cliphist @@ -22,6 +23,8 @@ tmux fastfetch btop + nicotine-plus + strawberry pavucontrol wl-clipboard hyprcursor @@ -39,5 +42,6 @@ mako feh kitty + librewolf ]; } diff --git a/modules/nixos/common.nix b/modules/nixos/common.nix index e290c2c..435fe4f 100644 --- a/modules/nixos/common.nix +++ b/modules/nixos/common.nix @@ -8,12 +8,14 @@ wireguard-tools iproute2 util-linux + ncmpcpp ]; nixpkgs.config.allowUnfree = true; nix.settings.experimental-features = ["nix-command" "flakes"]; time.timeZone = "Europe/Istanbul"; zramSwap.enable = true; programs.localsend.enable = true; - + networking.firewall.checkReversePath = "loose"; + services.resolved.enable = true; networking.networkmanager.enable = true; } diff --git a/modules/nixos/gaming.nix b/modules/nixos/gaming.nix index cb0ecbf..7e424a1 100644 --- a/modules/nixos/gaming.nix +++ b/modules/nixos/gaming.nix @@ -6,5 +6,6 @@ }; environment.systemPackages = with pkgs; [ protonup-ng + pkgs.lutris ]; } diff --git a/modules/nixos/services.nix b/modules/nixos/services.nix index e271a7b..5854a89 100644 --- a/modules/nixos/services.nix +++ b/modules/nixos/services.nix @@ -4,19 +4,23 @@ programs.thunar.enable = true; programs.xfconf.enable = true; services.displayManager.ly.enable = true; - services.avahi = { - # so host.local works - enable = true; - nssmdns4 = true; - }; + systemd.services.tailscaled.after = ["network-online.target"]; + systemd.services.tailscaled.wants = ["network-online.target"]; services.tailscale = { enable = true; + openFirewall = true; extraSetFlags = [ - "--exit-node=poggerer" + "--accept-routes=false" + "--accept-dns=false" ]; - useRoutingFeatures = "both"; + useRoutingFeatures = "client"; + # interfaceName = "userspace-networking"; }; + services.mullvad-vpn = { + enable = true; + package = pkgs.mullvad-vpn; + }; programs.thunar.plugins = with pkgs; [ thunar-archive-plugin