Save 0ad data between boots
This commit is contained in:
parent
e78d65d4e4
commit
ad581c9f57
2 changed files with 14 additions and 1 deletions
13
configurations/zeroad.nix
Normal file
13
configurations/zeroad.nix
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
{ ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
custom.zfs.homeLinks = [
|
||||||
|
{ path = ".config/0ad"; type = "cache"; }
|
||||||
|
];
|
||||||
|
|
||||||
|
home-manager.users.charlotte = { pkgs, ... }: {
|
||||||
|
home.packages = [
|
||||||
|
pkgs.zeroad
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
|
@ -24,6 +24,7 @@
|
||||||
../configurations/themes.nix
|
../configurations/themes.nix
|
||||||
../configurations/thunderbird.nix
|
../configurations/thunderbird.nix
|
||||||
../configurations/xdg-dirs.nix
|
../configurations/xdg-dirs.nix
|
||||||
|
../configurations/zeroad.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
home-manager.users.charlotte = { pkgs, ... }: {
|
home-manager.users.charlotte = { pkgs, ... }: {
|
||||||
|
@ -39,7 +40,6 @@
|
||||||
sshfs
|
sshfs
|
||||||
wf-recorder
|
wf-recorder
|
||||||
wl-clipboard
|
wl-clipboard
|
||||||
zeroad
|
|
||||||
];
|
];
|
||||||
programs.zsh.loginExtra = ''
|
programs.zsh.loginExtra = ''
|
||||||
if [[ -z "$DISPLAY" ]] && [[ $(tty) = "/dev/tty1" ]]; then
|
if [[ -z "$DISPLAY" ]] && [[ $(tty) = "/dev/tty1" ]]; then
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue