sheeet the second

This commit is contained in:
2025-12-10 13:51:17 +00:00
5 changed files with 40 additions and 5 deletions

View File

@@ -408,13 +408,13 @@ in
windowrule = [ windowrule = [
# Ignore maximize requests from apps. You'll probably like this. # Ignore maximize requests from apps. You'll probably like this.
"suppressevent maximize, class:.*" "match:class .*, suppress_event maximize"
# Fix some dragging issues with XWayland # Fix some dragging issues with XWayland
"nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0" "match:class ^$, match:title ^$, match:xwayland 1, match:float 1, match:fullscreen 0, match:pin 0, no_focus on"
"workspace special:magic silent, class:thunderbird" "match:class thunderbird, workspace special:magic silent"
"workspace special:magic silent, class:emacs, title:work" "match:class emacs, match:title work, workspace special:magic silent"
]; ];
}; };
}; };

View File

@@ -72,6 +72,29 @@
}) })
]; ];
fileSystems."/server" = lib.mkIf (systemName == "pc") { # or remove the mkIf if you want it on both
device = "//192.168.1.8/mrfluffy"; # adjust the share name if its not the home share
fsType = "cifs";
options = let
# Separate credentials from the Nix store (very important for security)
credFile = "/etc/nixos/smb-credentials-mrfluffy";
in [
# Basic recommended options
"credentials=${credFile}"
"gid=users" # make files belong to the "users" group (or your preferred group)
"uid=1000" # replace with your users UID, or use "uid=${config.users.users.yourname.uid}"
"file_mode=0664"
"dir_mode=0775"
"nofail" # ← this makes the mount OPTIONAL (boot continues if unreachable)
"noauto" # dont mount automatically at boot (optional, combine with x-systemd.automount)
"x-systemd.automount" # creates a systemd automount unit → mounts on first access
"x-systemd.mount-timeout=15" # dont wait forever
"vers=3.0" # force SMB3 if the server supports it (recommended)
# "iocharset=utf8" # usually not needed with modern servers
# "cache=loose" # improves performance for some workloads
];
};
swapDevices = swapDevices =
[ ] [ ]
++ (lib.optionals (systemName == "pc") [ ++ (lib.optionals (systemName == "pc") [

View File

@@ -238,7 +238,9 @@ in
dualsensectl dualsensectl
gamemode gamemode
goverlay goverlay
heroic (pkgs.heroic.override {
extraPkgs = pkgs: [ pkgs.gamescope ]; # pulls in the real package
})
prismlauncher prismlauncher
protonup-qt protonup-qt
wineWowPackages.stable wineWowPackages.stable

View File

@@ -69,6 +69,12 @@ in
############################ ############################
brave brave
############################
# work stuff
############################
#awscli2
# swaynotificationcenter # swaynotificationcenter
# inputs.ladybird.packages."${pkgs.system}".ladybird # inputs.ladybird.packages."${pkgs.system}".ladybird

View File

@@ -214,5 +214,9 @@ in
git git
zotero zotero
# --- File System Stuff ---
cifs-utils
]; ];
} }