hosts
This commit is contained in:
parent
0578d5acec
commit
2aa265b82a
3 changed files with 4 additions and 10 deletions
|
|
@ -25,6 +25,7 @@
|
|||
outputs = {
|
||||
self,
|
||||
nixpkgs,
|
||||
impermanence,
|
||||
...
|
||||
} @ inputs: let
|
||||
inherit (self) outputs;
|
||||
|
|
@ -48,6 +49,7 @@
|
|||
modules = [
|
||||
./hosts/${host}/configuration.nix
|
||||
./hosts/${host}/hardware-configuration.nix
|
||||
impermanence.nixosModule
|
||||
];
|
||||
};
|
||||
in {
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
enable = true;
|
||||
interval = "Fri 07:00";
|
||||
fileSystems = [
|
||||
"/persistent"
|
||||
"/persist"
|
||||
"/nix"
|
||||
];
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1,17 +1,9 @@
|
|||
{
|
||||
conf,
|
||||
impermanence,
|
||||
...
|
||||
}: {
|
||||
imports = [impermanence.nixosModule];
|
||||
|
||||
{conf, ...}: {
|
||||
environment.persistence."/persist/data" = {
|
||||
hideMounts = true;
|
||||
directories = [
|
||||
"/etc/NetworkManager/system-connections"
|
||||
"/var/log"
|
||||
"/var/lib/bluetooth"
|
||||
"/var/lib/nixos"
|
||||
"/var/lib/systemd/coredump"
|
||||
"/var/lib/bluetooth"
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue