1
0
Fork 0

Fix state dire

This commit is contained in:
Malte Brandy 2021-12-06 13:05:26 +01:00
parent 01a6092682
commit 3b856af81f
2 changed files with 4 additions and 4 deletions

View file

@ -130,7 +130,7 @@ in
];
zeus = daily-driver "zeus" [
./roles/hourly-maintenance.nix
./roles/state.nix
(import ./roles/state.nix "orga")
./roles/trusted-env.nix
];
fluffy = {
@ -139,7 +139,7 @@ in
./roles/mode-switching.nix
./roles/systemd-exporter.nix
./roles/headless.nix
./roles/state.nix
(import ./roles/state.nix "default")
]);
};
hera = {

View file

@ -1,4 +1,4 @@
{ lib, config, ... }:
defaultMode: { lib, config, ... }:
let
# Persistent means that files get snapshoted and kept for a month
# Volatile means that files just lay on the disk
@ -49,7 +49,7 @@ in
(mkLine "L+" "${home}/.volatile" "/disk/volatile/maralorn")
(mkLine "L+" "${home}/.config/nixpkgs/home.nix" "${home}/git/config/home.nix")
(mkLine "L+" "${home}/.persist" "/disk/persist/maralorn")
(mkLine "f" "${home}/.mode" "orga")
(mkLine "f" "${home}/.mode" defaultMode)
(mkLine "f" "${home}/.config/lazygit/state.yml" "startuppopupversion: 5")
(mkLine "d" "${home}/.cache/mutt" "")
];