From 9faff5e0bee5718a5825cef2604a4e81ddcbd0e0 Mon Sep 17 00:00:00 2001 From: azahi Date: Mon, 6 Jan 2025 23:21:56 +0300 Subject: 2025-01-06 --- configurations/eonwe/default.nix | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) (limited to 'configurations/eonwe/default.nix') diff --git a/configurations/eonwe/default.nix b/configurations/eonwe/default.nix index 875f737..68cfac4 100644 --- a/configurations/eonwe/default.nix +++ b/configurations/eonwe/default.nix @@ -277,6 +277,17 @@ with lib; # [1]: https://github.com/nix-community/impermanence/issues/22 # [1]: https://github.com/NixOS/nixpkgs/pull/86967#pullrequestreview-667929259 "/home/${my.username}".neededForBoot = true; + + "/mnt/ydata/music" = { + device = "yavanna.shire.net:/export/music"; + fsType = "nfs"; + options = [ + "ro" + "noauto" + "x-systemd.automount" + "x-systemd.idle-timeout=${5 * 60 |> toString}" + ]; + }; }; zramSwap = { @@ -284,7 +295,10 @@ with lib; memoryPercent = 50; }; - my.extraGroups = [ "corectrl" ]; + my.extraGroups = [ + "corectrl" + config.nixfiles.modules.piracy.group + ]; users = { users.builder = { @@ -295,7 +309,12 @@ with lib; ]; useDefaultShell = true; }; - groups.builder = { }; + groups = { + builder = { }; + piracy = { + inherit (config.nixfiles.modules.piracy) gid; + }; + }; }; nix.settings.trusted-users = [ "builder" ]; -- cgit 1.4.1