Fri 12 Jul 16:23:49 CEST 2024
This commit is contained in:
parent
08e64f4165
commit
3364474e16
|
@ -32,7 +32,7 @@
|
||||||
}];
|
}];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
fileSystems."/home/server".device = pkgs.lib.mkForce "10.0.0.1:/home/server";
|
# fileSystems."/home/server".device = pkgs.lib.mkForce "10.0.0.1:/home/server";
|
||||||
|
|
||||||
services.upower.enable = true;
|
services.upower.enable = true;
|
||||||
networking.wireless.iwd.enable = true;
|
networking.wireless.iwd.enable = true;
|
||||||
|
|
|
@ -51,26 +51,5 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
fallbackDns = [ "1.1.1.1" "1.0.0.1" ];
|
fallbackDns = [ "1.1.1.1" "1.0.0.1" ];
|
||||||
};
|
};
|
||||||
|
networking.nameservers = ["1.1.1.1" "1.0.0.1"];
|
||||||
fileSystems."/home/server" = {
|
|
||||||
device = "192.168.1.2:/home/server";
|
|
||||||
fsType = "nfs";
|
|
||||||
options = [ "x-systemd.automount" "x-systemd.mount-timeout=1" "_netdev" "noauto" "timeo=1" ];
|
|
||||||
};
|
|
||||||
fileSystems."/home/user/Workspace" = {
|
|
||||||
device = "/home/server/Workspace";
|
|
||||||
options = [ "bind" "x-systemd.automount" "x-systemd.mount-timeout=1" "_netdev" "noauto" "timeo=1" "x-gvfs-hide"];
|
|
||||||
};
|
|
||||||
fileSystems."/home/user/Documents" = {
|
|
||||||
device = "/home/server/Storage/Thomas/Documents";
|
|
||||||
options = [ "bind" "x-systemd.automount" "x-systemd.mount-timeout=1" "_netdev" "noauto" "timeo=1" "x-gvfs-hide"];
|
|
||||||
};
|
|
||||||
fileSystems."/home/user/Pictures" = {
|
|
||||||
device = "/home/server/Storage/Thomas/Pictures";
|
|
||||||
options = [ "bind" "x-systemd.automount" "x-systemd.mount-timeout=1" "_netdev" "noauto" "timeo=1" "x-gvfs-hide"];
|
|
||||||
};
|
|
||||||
fileSystems."/home/user/Videos" = {
|
|
||||||
device = "/home/server/Storage/Thomas/Videos";
|
|
||||||
options = [ "bind" "x-systemd.automount" "x-systemd.mount-timeout=1" "_netdev" "noauto" "timeo=1" "x-gvfs-hide"];
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,24 @@
|
||||||
|
{ ... }:
|
||||||
|
{
|
||||||
|
fileSystems."/home/server" = {
|
||||||
|
device = "192.168.1.2:/home/server";
|
||||||
|
fsType = "nfs";
|
||||||
|
options = [ "x-systemd.automount" "x-systemd.mount-timeout=1" "_netdev" "noauto" "timeo=1" ];
|
||||||
|
};
|
||||||
|
fileSystems."/home/user/Workspace" = {
|
||||||
|
device = "/home/server/Workspace";
|
||||||
|
options = [ "bind" "x-systemd.automount" "x-systemd.mount-timeout=1" "_netdev" "noauto" "timeo=1" "x-gvfs-hide"];
|
||||||
|
};
|
||||||
|
fileSystems."/home/user/Documents" = {
|
||||||
|
device = "/home/server/Storage/Thomas/Documents";
|
||||||
|
options = [ "bind" "x-systemd.automount" "x-systemd.mount-timeout=1" "_netdev" "noauto" "timeo=1" "x-gvfs-hide"];
|
||||||
|
};
|
||||||
|
fileSystems."/home/user/Pictures" = {
|
||||||
|
device = "/home/server/Storage/Thomas/Pictures";
|
||||||
|
options = [ "bind" "x-systemd.automount" "x-systemd.mount-timeout=1" "_netdev" "noauto" "timeo=1" "x-gvfs-hide"];
|
||||||
|
};
|
||||||
|
fileSystems."/home/user/Videos" = {
|
||||||
|
device = "/home/server/Storage/Thomas/Videos";
|
||||||
|
options = [ "bind" "x-systemd.automount" "x-systemd.mount-timeout=1" "_netdev" "noauto" "timeo=1" "x-gvfs-hide"];
|
||||||
|
};
|
||||||
|
}
|
|
@ -4,6 +4,7 @@
|
||||||
imports = [
|
imports = [
|
||||||
(import ../Common/default.nix { inherit inputs pkgs; })
|
(import ../Common/default.nix { inherit inputs pkgs; })
|
||||||
(import ../Common/desktop.nix { inherit inputs pkgs config; })
|
(import ../Common/desktop.nix { inherit inputs pkgs config; })
|
||||||
|
(import ../Common/nfs.nix { inherit inputs pkgs config; })
|
||||||
];
|
];
|
||||||
|
|
||||||
# AMD CPU
|
# AMD CPU
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
(import ../Common/default.nix { inherit inputs config pkgs; })
|
(import ../Common/default.nix { inherit inputs config pkgs; })
|
||||||
|
(import ../Common/nfs.nix { inherit inputs pkgs config; })
|
||||||
];
|
];
|
||||||
|
|
||||||
services.ollama = {
|
services.ollama = {
|
||||||
|
|
Loading…
Reference in New Issue