Compare commits

...

2 commits

2 changed files with 42 additions and 30 deletions

View file

@ -54,18 +54,20 @@ in
mfact = 0.65;
new_status = "master";
new_on_top = true;
no_gaps_when_only = 1;
drop_at_cursor = false;
};
decoration = {
"col.shadow" = "rgba(1E202966)";
dim_around = 0.6;
drop_shadow = "yes";
dim_inactive = true;
rounding = 5;
shadow_range = 60;
shadow_offset = "1 2";
shadow_render_power = 3;
shadow_scale = 0.97;
shadow = {
color = "rgba(1E202966)";
offset = "1 2";
range = 60;
render_power = 3;
scale = 0.97;
};
};
monitor = [

View file

@ -1,25 +1,35 @@
_: {
environment.persistence."/persist/system" = {
hideMounts = true;
directories = [
"/etc/NetworkManager/system-connections"
"/etc/systemd/nspawn"
"/root/.local/share/nix"
"/var/cache/fwupd"
"/var/lib/bluetooth"
"/var/lib/btrfs"
"/var/lib/fwupd"
"/var/lib/iwd"
"/var/lib/libvirt"
"/var/lib/machines"
"/var/lib/NetworkManager"
"/var/lib/nixos"
"/var/lib/portables"
"/var/lib/systemd"
"/var/log"
];
files = [
"/etc/machine-id"
];
_:
let
persistant-path = "/persist/system";
in
{
environment = {
etc = {
"machine-id" = {
enable = true;
source = "${persistant-path}/machine-id";
mode = "symlink";
};
};
persistence."${persistant-path}" = {
hideMounts = true;
directories = [
"/etc/NetworkManager/system-connections"
"/etc/systemd/nspawn"
"/root/.local/share/nix"
"/var/cache/fwupd"
"/var/lib/bluetooth"
"/var/lib/btrfs"
"/var/lib/fwupd"
"/var/lib/iwd"
"/var/lib/libvirt"
"/var/lib/machines"
"/var/lib/NetworkManager"
"/var/lib/nixos"
"/var/lib/portables"
"/var/lib/systemd"
"/var/log"
];
};
};
}