diff options
| author | Petri Hienonen <petri.hienonen@gmail.com> | 2026-02-11 10:16:31 +0200 |
|---|---|---|
| committer | Petri Hienonen <petri.hienonen@gmail.com> | 2026-02-11 10:16:31 +0200 |
| commit | 541f3c6e47e65a77ddc937d3d3a336b43fa2e546 (patch) | |
| tree | ac3d6a8054a6d220b98f04ef45883d033471073f /home/default.nix | |
| parent | 3fcdcad3f3321b97ff795bb836a41ea1b9c0a45d (diff) | |
| download | nixos-541f3c6e47e65a77ddc937d3d3a336b43fa2e546.tar.zst | |
Move the symlink after activation
Diffstat (limited to '')
| -rw-r--r-- | home/default.nix | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/home/default.nix b/home/default.nix index cf89abe..abcac18 100644 --- a/home/default.nix +++ b/home/default.nix @@ -3,6 +3,7 @@ config, vars, pkgs, + lib, ... }: let @@ -43,14 +44,16 @@ in ]; home = { + activation.mySymlinks = lib.mkAfter '' + ln -sf /media/skydrive/Downloads /home/petri/Downloads; + ''; file = { ".cache/nix-index/.keep".text = ""; "Calendar/radicale/.keep".text = ""; "Contacts/radicale/.keep".text = ""; - Downloads.source = config.lib.file.mkOutOfStoreSymlink "/media/skydrive/Downloads"; }; enableNixpkgsReleaseCheck = true; - stateVersion = "25.05"; + stateVersion = "25.11"; shell = { enableBashIntegration = true; enableFishIntegration = true; |
