mirror of
https://gitlab.com/Zaney/zaneyos.git
synced 2025-01-23 12:48:35 +01:00
Add toggle for impermanence & persistance for certian directories
This commit is contained in:
parent
52416fe6b2
commit
50c03f3509
File diff suppressed because one or more lines are too long
@ -27,7 +27,8 @@ in with lib; {
|
|||||||
};
|
};
|
||||||
"clock" = {
|
"clock" = {
|
||||||
format = "{: %I:%M %p}";
|
format = "{: %I:%M %p}";
|
||||||
tooltip = false;
|
tooltip-format = "<big>{:%A, %d.%B %Y }</big><tt><small>{calendar}</small></tt>";
|
||||||
|
tooltip = true;
|
||||||
};
|
};
|
||||||
"hyprland/window" = {
|
"hyprland/window" = {
|
||||||
max-length = 25;
|
max-length = 25;
|
||||||
|
@ -1,10 +1,14 @@
|
|||||||
{ config, pkgs, lib, username, ... }:
|
{ config, pkgs, lib, username, ... }:
|
||||||
|
|
||||||
{
|
let
|
||||||
|
inherit (import ../../options.nix) impermanence;
|
||||||
|
in lib.mkIf (impermanence == true) {
|
||||||
environment.persistence."/nix/persist" = {
|
environment.persistence."/nix/persist" = {
|
||||||
hideMounts = true;
|
hideMounts = true;
|
||||||
directories = [
|
directories = [
|
||||||
"/var/log"
|
"/var/log"
|
||||||
|
"/var/lib/bluetooth"
|
||||||
|
"/var/lib/nixos"
|
||||||
"/var/lib/systemd/coredump"
|
"/var/lib/systemd/coredump"
|
||||||
"/etc/NetworkManager/system-connections"
|
"/etc/NetworkManager/system-connections"
|
||||||
];
|
];
|
||||||
|
@ -32,6 +32,7 @@ in {
|
|||||||
theTimezone = "America/Chicago";
|
theTimezone = "America/Chicago";
|
||||||
theShell = "bash"; # Possible options: bash, zsh
|
theShell = "bash"; # Possible options: bash, zsh
|
||||||
theKernel = "default"; # possible options: default, latest, lqx, xanmod, zen
|
theKernel = "default"; # possible options: default, latest, lqx, xanmod, zen
|
||||||
|
impermanence = true;
|
||||||
# For Hybrid Systems intel-nvidia
|
# For Hybrid Systems intel-nvidia
|
||||||
# Should Be Used As gpuType
|
# Should Be Used As gpuType
|
||||||
cpuType = "intel";
|
cpuType = "intel";
|
||||||
|
Loading…
Reference in New Issue
Block a user