mirror of
https://github.com/FabricSoul/nixos-configs.git
synced 2025-08-04 01:00:22 -04:00
Merge branch 'main' of github.com:FabricSoul/nixos-configs
This commit is contained in:
commit
b306f9c511
4 changed files with 41 additions and 15 deletions
|
@ -26,6 +26,7 @@
|
|||
greetd.tuigreet
|
||||
zsh
|
||||
home-manager
|
||||
findutils
|
||||
];
|
||||
|
||||
# Enable the OpenSSH daemon
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
# Bootloader
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
boot.supportedFilesystems = ["nfs"];
|
||||
|
||||
# Networking
|
||||
networking = {
|
||||
|
@ -35,6 +36,25 @@
|
|||
shell = pkgs.zsh;
|
||||
};
|
||||
|
||||
services.rpcbind.enable = true;
|
||||
|
||||
fileSystems."/home/fabric/nas" = {
|
||||
device = "tatara:/nas";
|
||||
fsType = "nfs";
|
||||
options = [
|
||||
"x-systemd.automount"
|
||||
"noauto"
|
||||
"x-systemd.idle-timeout=60"
|
||||
"x-systemd.device-timeout=5"
|
||||
"x-systemd.mount-timeout=5"
|
||||
"nfsvers=4" # Use NFSv4
|
||||
"hard" # Hard mount (recommended)
|
||||
"intr" # Allow interruption
|
||||
"rsize=8192" # Read size
|
||||
"wsize=8192" # Write size
|
||||
];
|
||||
};
|
||||
|
||||
# Enable Ollama with CUDA
|
||||
services.ollama = {
|
||||
enable = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue