Compare commits
2 Commits
876a90a0a1
...
aa22a83853
| Author | SHA1 | Date | |
|---|---|---|---|
|
aa22a83853
|
|||
|
7dba899219
|
@@ -211,11 +211,13 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/export/Pluto" = {
|
fileSystems."/export/Pluto" = {
|
||||||
|
fsType = "auto";
|
||||||
device = "/mnt/Pluto";
|
device = "/mnt/Pluto";
|
||||||
options = ["bind"];
|
options = ["bind"];
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/export/Mars" = {
|
fileSystems."/export/Mars" = {
|
||||||
|
fsType = "auto";
|
||||||
device = "/mnt/Mars";
|
device = "/mnt/Mars";
|
||||||
options = ["bind"];
|
options = ["bind"];
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -541,9 +541,12 @@ in {
|
|||||||
|
|
||||||
# ── Laptop ─────────────────────────────────────────────────────────────
|
# ── Laptop ─────────────────────────────────────────────────────────────
|
||||||
(lib.mkIf cfg.laptop.enable {
|
(lib.mkIf cfg.laptop.enable {
|
||||||
systemd.sleep.extraConfig = "HibernateDelaySec=${cfg.laptop.hibernateDelaySec}";
|
systemd.sleep.settings.Sleep = {
|
||||||
services.logind.settings.Login.HandleLidSwitch =
|
HibernateDelaySec = cfg.laptop.hibernateDelaySec;
|
||||||
cfg.laptop.lidSwitch;
|
};
|
||||||
|
services.logind.settings.Login = {
|
||||||
|
HandleLidSwitch = cfg.laptop.lidSwitch;
|
||||||
|
};
|
||||||
})
|
})
|
||||||
|
|
||||||
# ── Nitrokey ───────────────────────────────────────────────────────────
|
# ── Nitrokey ───────────────────────────────────────────────────────────
|
||||||
|
|||||||
@@ -12,6 +12,6 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
zmkBATx
|
zmkbatx
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user