This commit is contained in:
2024-09-29 00:46:41 -04:00
parent 444bbf1ce1
commit b384b75835
6 changed files with 34 additions and 45 deletions

View File

@@ -28,7 +28,7 @@
CPU_BOOST_ON_BAT = 0;
START_CHARGE_THRESH_BAT0 = 90;
STOP_CHARGE_THRESH_BAT0 = 95;
STOP_CHARGE_THRESH_BAT0 = 90;
RUNTIME_PM_ON_BAT = "auto";
};
};
@@ -53,8 +53,6 @@
};
boot = {
enableContainers = true;
lanzaboote = {
enable = true;
pkiBundle = "/etc/secureboot";
@@ -91,26 +89,12 @@
TTYVTDisallocate = true;
};
# Enable common container config files in /etc/containers
virtualisation = {
containers.enable = true;
podman = {
enable = true;
# Required for containers under podman-compose to be able to talk to each other.
# defaultNetwork.settings.dns_enabled = true;
};
};
environment.systemPackages = with pkgs; [
distrobox
];
#weird hack to get swaylock working? idk, if you don't put this here, password entry doesnt work
#if I move to another lock screen program, i will have to replace `swaylock`
security.pam.services.swaylock = { };
system.activationScripts = {
# extract all my secureboot keys
"secureboot-keys".text =
let
secureboot_path = "/etc/secureboot";