Skip to content

Commit

Permalink
fix: persistent files
Browse files Browse the repository at this point in the history
  • Loading branch information
ryan4yin committed Dec 2, 2023
1 parent 9d00eb3 commit 05bfd2d
Showing 1 changed file with 28 additions and 10 deletions.
38 changes: 28 additions & 10 deletions hosts/idols/ai/impermanence.nix
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
{impermanence, pkgs, ...}: {
{
impermanence,
pkgs,
...
}: {
imports = [
impermanence.nixosModules.impermanence
];


environment.systemPackages = [
# `sudo ncdu -x /`
pkgs.ncdu
Expand All @@ -28,9 +31,8 @@
"/etc/NetworkManager/system-connections"
"/etc/ssh"
"/etc/nix/inputs"
"/etc/secureboot" # lanzaboote - secure boot

# my files
"/etc/secureboot" # lanzaboote - secure boot
# my secrets
"/etc/agenix/"

"/var/log"
Expand Down Expand Up @@ -77,17 +79,33 @@
mode = "0700";
}

".bash_history"
".cache"
".config"
".local"
# misc
".config/pulse"
".pki"

# remote desktop
".config/remmina"
".config/freerdp"

# browsers
".mozilla"
".config/google-chrome"

# neovim / remmina / flatpak / ...
".local/share"
".local/state"

# language package managers
".npm"
"go"

# neovim plugins(wakatime & copilot)
".wakatime"
".config/github-copilot"
];
files = [
".wakatime.cfg"
".wakatime.bdb"
".config/nushell/history.txt"
];
};
};
Expand Down

0 comments on commit 05bfd2d

Please sign in to comment.