Added font and another drive

This commit is contained in:
vanten-s 2024-04-22 08:50:25 +02:00
parent bae23a03a2
commit fb6f327d4e

View file

@ -213,7 +213,7 @@ in {
services.xserver.xkb.layout = "se"; services.xserver.xkb.layout = "se";
fonts.packages = with pkgs; [ fonts.packages = with pkgs; [
(nerdfonts.override { fonts = [ "FiraCode" "RobotoMono" ]; }) (nerdfonts.override { fonts = [ "FiraCode" "RobotoMono" "JetBrainsMono" ]; })
]; ];
nixpkgs.config.permittedInsecurePackages = [ nixpkgs.config.permittedInsecurePackages = [
@ -241,6 +241,16 @@ in {
in ["${automount_opts},credentials=/etc/nixos/smb-secrets,uid=1000,gid=100"]; in ["${automount_opts},credentials=/etc/nixos/smb-secrets,uid=1000,gid=100"];
}; };
fileSystems."/mnt/photos" = {
device = "//vanten-s.com/photos";
fsType = "cifs";
options = let
# this line prevents hanging on network split
automount_opts = "x-systemd.automount,noauto,x-systemd.idle-timeout=60,x-systemd.device-timeout=5s,x-systemd.mount-timeout=5s,user,users,exec";
in ["${automount_opts},credentials=/etc/nixos/smb-secrets,uid=1000,gid=100"];
};
# Some programs need SUID wrappers, can be configured further or are # Some programs need SUID wrappers, can be configured further or are
# started in user sessions. # started in user sessions.
# programs.mtr.enable = true; # programs.mtr.enable = true;