mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-04-25 10:18:37 +02:00
fix: persistent files
This commit is contained in:
@@ -1,9 +1,12 @@
|
|||||||
{impermanence, pkgs, ...}: {
|
{
|
||||||
|
impermanence,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
imports = [
|
imports = [
|
||||||
impermanence.nixosModules.impermanence
|
impermanence.nixosModules.impermanence
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
environment.systemPackages = [
|
environment.systemPackages = [
|
||||||
# `sudo ncdu -x /`
|
# `sudo ncdu -x /`
|
||||||
pkgs.ncdu
|
pkgs.ncdu
|
||||||
@@ -28,9 +31,8 @@
|
|||||||
"/etc/NetworkManager/system-connections"
|
"/etc/NetworkManager/system-connections"
|
||||||
"/etc/ssh"
|
"/etc/ssh"
|
||||||
"/etc/nix/inputs"
|
"/etc/nix/inputs"
|
||||||
"/etc/secureboot" # lanzaboote - secure boot
|
"/etc/secureboot" # lanzaboote - secure boot
|
||||||
|
# my secrets
|
||||||
# my files
|
|
||||||
"/etc/agenix/"
|
"/etc/agenix/"
|
||||||
|
|
||||||
"/var/log"
|
"/var/log"
|
||||||
@@ -77,17 +79,33 @@
|
|||||||
mode = "0700";
|
mode = "0700";
|
||||||
}
|
}
|
||||||
|
|
||||||
".bash_history"
|
# misc
|
||||||
".cache"
|
".config/pulse"
|
||||||
".config"
|
".pki"
|
||||||
".local"
|
|
||||||
|
# remote desktop
|
||||||
|
".config/remmina"
|
||||||
|
".config/freerdp"
|
||||||
|
|
||||||
|
# browsers
|
||||||
".mozilla"
|
".mozilla"
|
||||||
|
".config/google-chrome"
|
||||||
|
|
||||||
|
# neovim / remmina / flatpak / ...
|
||||||
|
".local/share"
|
||||||
|
".local/state"
|
||||||
|
|
||||||
|
# language package managers
|
||||||
".npm"
|
".npm"
|
||||||
|
"go"
|
||||||
|
|
||||||
|
# neovim plugins(wakatime & copilot)
|
||||||
".wakatime"
|
".wakatime"
|
||||||
|
".config/github-copilot"
|
||||||
];
|
];
|
||||||
files = [
|
files = [
|
||||||
".wakatime.cfg"
|
".wakatime.cfg"
|
||||||
".wakatime.bdb"
|
".config/nushell/history.txt"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user