switching all smb to nfs
This commit is contained in:
parent
0b53ae3b9c
commit
b0c634ab81
3 changed files with 4 additions and 8 deletions
|
@ -13,7 +13,7 @@
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
./razer-speaker-fix.nix
|
./razer-speaker-fix.nix
|
||||||
|
|
||||||
sops-config
|
# sops-config
|
||||||
niri
|
niri
|
||||||
kanata
|
kanata
|
||||||
filesystems-filez
|
filesystems-filez
|
||||||
|
@ -81,10 +81,6 @@
|
||||||
# Select internationalisation properties.
|
# Select internationalisation properties.
|
||||||
i18n.defaultLocale = "en_CA.UTF-8";
|
i18n.defaultLocale = "en_CA.UTF-8";
|
||||||
|
|
||||||
sops-config = {
|
|
||||||
key-file = "/home/emenel/.config/sops/age/keys.txt";
|
|
||||||
};
|
|
||||||
|
|
||||||
console = {
|
console = {
|
||||||
earlySetup = true;
|
earlySetup = true;
|
||||||
colors =
|
colors =
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
{
|
{
|
||||||
imports = with nix-config.nixosModules; [
|
imports = with nix-config.nixosModules; [
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
sops-config
|
# sops-config
|
||||||
filesystems-filez
|
filesystems-filez
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
@ -3,11 +3,11 @@
|
||||||
{
|
{
|
||||||
fileSystems =
|
fileSystems =
|
||||||
let
|
let
|
||||||
opts = [ "nfsvers=4.1" "noatime" "noauto" "x-systemd.automount" ];
|
opts = [ "noatime" "noauto" "x-systemd.automount" ];
|
||||||
in {
|
in {
|
||||||
|
|
||||||
"/mnt/import" = {
|
"/mnt/import" = {
|
||||||
device = "media-server:/import";
|
device = "media-server:/export/import";
|
||||||
fsType = "nfs";
|
fsType = "nfs";
|
||||||
options = opts;
|
options = opts;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue