nixos-config/config/site-config/seattle.nix

56 lines
1.4 KiB
Nix
Raw Normal View History

2021-02-25 12:45:50 -08:00
{ config, lib, pkgs, ... }:
2021-06-08 14:22:37 -07:00
let local-domain = "sea.fudo.org";
2021-04-02 14:08:01 -07:00
in {
fileSystems = {
"/mnt/documents" = {
device = "whitedwarf.${local-domain}:/volume1/Documents";
fsType = "nfs4";
options = [ "comment=systemd.automount" ];
2021-04-02 14:08:01 -07:00
};
"/mnt/downloads" = {
device = "whitedwarf.${local-domain}:/volume1/Downloads";
fsType = "nfs4";
options = [ "comment=systemd.automount" ];
2021-04-02 14:08:01 -07:00
};
"/mnt/music" = {
device = "doraemon.${local-domain}:/volume1/Music";
fsType = "nfs4";
options = [ "comment=systemd.automount" ];
2021-04-02 14:08:01 -07:00
};
"/mnt/video" = {
device = "doraemon.${local-domain}:/volume1/Video";
fsType = "nfs4";
options = [ "comment=systemd.automount" ];
2021-04-02 14:08:01 -07:00
};
# fileSystems."/mnt/security" = {
# device = "panopticon.${local-domain}:/srv/kerberos/data";
# fsType = "nfs4";
# };
"/mnt/cargo_video" = {
device = "cargo.${local-domain}:/volume1/video";
fsType = "nfs4";
options = [ "comment=systemd.automount" ];
2021-04-02 14:08:01 -07:00
};
"/mnt/photo" = {
device = "cargo.${local-domain}:/volume1/pictures";
fsType = "nfs4";
options = [ "comment=systemd.automount" ];
2021-04-02 14:08:01 -07:00
};
};
services.printing = {
enable = true;
drivers = [
2021-06-08 14:22:37 -07:00
# pkgs.brlaser
# pkgs.brgenml1lpr
# pkgs.brgenml1cupswrapper
# pkgs.hll2380dw-cups
# pkgs.hll2380dw-lpr
2021-04-02 14:08:01 -07:00
];
};
2021-06-08 14:22:37 -07:00
environment.systemPackages = with pkgs; [ hll2380dw-cups ];
2021-03-31 16:28:42 -07:00
}