refactor nixos

This commit is contained in:
♥ Minnie ♥ 2024-01-21 21:03:57 +08:00
parent 064c099b16
commit 186ace4edd
14 changed files with 175 additions and 290 deletions

View file

@ -1,6 +1,10 @@
{ ... }:
{ inputs, ... }:
{
imports = [
inputs.impermanence.nixosModules.impermanence
];
# Files and directories we with to keep between reboots
environment.persistence."/persist" = {
hideMounts = true;
@ -19,4 +23,5 @@
"/etc/ssh/ssh_host_ed25519_key.pub"
];
};
programs.fuse.userAllowOther = true;
}