From ad581c9f57ec7022f99b8c346810677fde4e4e4d Mon Sep 17 00:00:00 2001 From: Charlotte Van Petegem Date: Fri, 3 Jul 2020 14:20:00 +0200 Subject: [PATCH] Save 0ad data between boots --- configurations/zeroad.nix | 13 +++++++++++++ profiles/graphical.nix | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 configurations/zeroad.nix diff --git a/configurations/zeroad.nix b/configurations/zeroad.nix new file mode 100644 index 00000000..374cb872 --- /dev/null +++ b/configurations/zeroad.nix @@ -0,0 +1,13 @@ +{ ... }: + +{ + custom.zfs.homeLinks = [ + { path = ".config/0ad"; type = "cache"; } + ]; + + home-manager.users.charlotte = { pkgs, ... }: { + home.packages = [ + pkgs.zeroad + ]; + }; +} diff --git a/profiles/graphical.nix b/profiles/graphical.nix index 4cc172d9..1bb0a789 100644 --- a/profiles/graphical.nix +++ b/profiles/graphical.nix @@ -24,6 +24,7 @@ ../configurations/themes.nix ../configurations/thunderbird.nix ../configurations/xdg-dirs.nix + ../configurations/zeroad.nix ]; home-manager.users.charlotte = { pkgs, ... }: { @@ -39,7 +40,6 @@ sshfs wf-recorder wl-clipboard - zeroad ]; programs.zsh.loginExtra = '' if [[ -z "$DISPLAY" ]] && [[ $(tty) = "/dev/tty1" ]]; then