From 0c8e4c7858d1f748c94ef966ee4e60ae604ae7e1 Mon Sep 17 00:00:00 2001 From: installer Date: Fri, 22 Nov 2024 19:47:37 +0100 Subject: [PATCH] =?UTF-8?q?dodanie=20mounta=20na=20dysk=20sieciowy=20i=20p?= =?UTF-8?q?r=C3=B3ba=20pod=C5=82=C4=85czenia=20serwisu=20vpn?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/hyprland.nix | 3 +++ hosts/garand-laptop/config.nix | 23 +++++++++++++++++++++++ 2 files changed, 26 insertions(+) diff --git a/config/hyprland.nix b/config/hyprland.nix index e94390d..bd3b925 100644 --- a/config/hyprland.nix +++ b/config/hyprland.nix @@ -79,9 +79,12 @@ in windowrulev2 = opacity 1 0.7, class:^(librewolf)$ windowrulev2 = opacity 0.9 0.7, class:^(thunar)$ windowrulev2 = opacity 0.9 0.7, class:^(steam)$ + windowrulev2 = opacity 0.9 0.7, class:^(code)$ windowrulev2 = opacity 0.9 0.7, class:^(code-url-handler)$ windowrulev2 = opacity 0.9 0.7, class:^(Plexamp)$ windowrulev2 = opacity 0.9 0.7, class:^(chrome-bbdeiblfgdokhlblpgeaokenkfknecgl-Default)$ + windowrulev2 = opacity 0.9 0.7, class:^(chrome-ppepjbbmpdbanediafpgploonglppmlk-Default)$ + windowrulev2 = opacity 0.9 0.7, class:^(tutanota-desktop)$ windowrulev2 = opacity 0.9 0.7, class:^(discord)$ gestures { workspace_swipe = true diff --git a/hosts/garand-laptop/config.nix b/hosts/garand-laptop/config.nix index 1a7d532..dc9a4a5 100644 --- a/hosts/garand-laptop/config.nix +++ b/hosts/garand-laptop/config.nix @@ -319,6 +319,7 @@ in { kdePackages.kdenlive obs-studio thefuck + cifs-utils ]; fonts = { @@ -525,6 +526,28 @@ in { # }; }; + fileSystems."/mnt/Garand-Library" = { + device = "//192.168.1.156/Garand-Library"; + fsType = "cifs"; + options = [ + "rw" # Odczyt i zapis + "uid=1000" # UID użytkownika montującego (np. 1000 to często UID pierwszego użytkownika) + "gid=100" # GID grupy użytkownika montującego + "file_mode=0775" # Uprawnienia dla plików + "dir_mode=0775" # Uprawnienia dla katalogów + "credentials=/etc/smb-credentials" + ]; + }; + + # services.openvpn.servers = { + # RO-P2P = { + # config = '' + # config /home/garand_plg/Documents/RO-ovpn-tcp.ovpn + # ''; + # updateResolvConf = true; + # }; + # }; + console.keyMap = "${keyboardLayout}"; # Open ports in the firewall.