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