diff --git a/modules/nixos/mounts/babeshare/default.nix b/modules/nixos/mounts/babeshare/default.nix index c667695..2aa4d12 100644 --- a/modules/nixos/mounts/babeshare/default.nix +++ b/modules/nixos/mounts/babeshare/default.nix @@ -18,6 +18,7 @@ "password=granola chaos lend splendid" "uid=${toString uid}" "gid=${toString config.users.groups."wheel".gid}" + "nofail" ]; in { options.marleyos.mounts.babeshare.enable = mkEnableOption "babeshare"; diff --git a/systems/x86_64-linux/nyx/default.nix b/systems/x86_64-linux/nyx/default.nix index f23ff84..0762f3f 100644 --- a/systems/x86_64-linux/nyx/default.nix +++ b/systems/x86_64-linux/nyx/default.nix @@ -1,7 +1,7 @@ {lib, ...}: let inherit (lib.marleyos) enabled; in { - imports = [./hardware-configuration.nix ./autorandr.nix]; + imports = [./hardware-configuration.nix ./mounts.nix ./autorandr.nix]; boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; diff --git a/systems/x86_64-linux/nyx/mounts.nix b/systems/x86_64-linux/nyx/mounts.nix new file mode 100644 index 0000000..caf479b --- /dev/null +++ b/systems/x86_64-linux/nyx/mounts.nix @@ -0,0 +1,17 @@ +_: { + systemd = { + mounts = [ + { + what = "/dev/disk/by-uuid/fe667d96-a62f-465a-bd91-09b83a622874"; + where = "/mnt/data"; + type = "ext4"; + } + ]; + automounts = [ + { + where = "/mnt/data"; + wantedBy = ["multi-user.target"]; + } + ]; + }; +}