diff --git a/hardware/mounts.nix b/hardware/mounts.nix index 6e55439..7a5506b 100644 --- a/hardware/mounts.nix +++ b/hardware/mounts.nix @@ -31,17 +31,17 @@ ]; }; - # "/home/chris/Games" = { - # device = "/dev/disk/bi-label/Games"; - # fsType = "ext4"; - # options = [ - # "defaults" - # "x-systemd.mount-timeout=5" - # "user" - # "exec" - # "x-systemd.automount" - # "noauto" - # ]; - # }; + "/home/chris/Games" = { + device = "/dev/disk/by-label/Games"; + fsType = "ext4"; + options = [ + "defaults" + "x-systemd.mount-timeout=5" + "user" + "exec" + "x-systemd.automount" + "noauto" + ]; + }; }; } diff --git a/home/hooks.nix b/home/hooks.nix index 6f31cac..ef55dfc 100644 --- a/home/hooks.nix +++ b/home/hooks.nix @@ -64,18 +64,21 @@ DEST_FILE="$HOME/.config/Nextcloud/nextcloud.cfg" if [ ! -f "$DEST_FILE" ]; then + mkdir -p "$(dirname "$DEST_FILE")" cp "${../initial-configs/nextcloud.cfg}" "$DEST_FILE" fi DEST_FILE="$HOME/.config/sinew.in/Enpass.conf" if [ ! -f "$DEST_FILE" ]; then + mkdir -p "$(dirname "$DEST_FILE")" cp "${../initial-configs/Enpass.conf}" "$DEST_FILE" fi DEST_FILE="$HOME/.config/obsidian/obsidian.json" if [ ! -f "$DEST_FILE" ]; then + mkdir -p "$(dirname "$DEST_FILE")" cp "${../initial-configs/obsidian.json}" "$DEST_FILE" fi ''; diff --git a/home/impermanence.nix b/home/impermanence.nix index 3ca61e6..3274d7d 100644 --- a/home/impermanence.nix +++ b/home/impermanence.nix @@ -15,6 +15,8 @@ ".cache/wal" ".config/yazi/plugins" ".config/nixos" + ".config/Nextcloud" + ".config/spotify" ".config/sinew.in" ".config/chromium" ".config/obsidian" diff --git a/system/impermanence.nix b/system/impermanence.nix index 13b5ba8..d2fc941 100644 --- a/system/impermanence.nix +++ b/system/impermanence.nix @@ -17,6 +17,7 @@ ]; files = [ "/etc/machine-id" + "/etc/passwd" ]; }; }