mirror of
https://github.com/ItsDrike/nixdots
synced 2024-11-10 02:49:41 +00:00
Compare commits
No commits in common. "e8307d3054e4c135c8d426eaa75f74f53fab7762" and "6b801a8ec061e48f2b49c91e43f646d3cf3d0e8b" have entirely different histories.
e8307d3054
...
6b801a8ec0
|
@ -10,14 +10,10 @@
|
|||
in {
|
||||
config = mkIf cfg.enable {
|
||||
home.packages = with pkgs; [
|
||||
(lutris.override {
|
||||
extraLibraries = pkgs: [
|
||||
pixman
|
||||
];
|
||||
extraPkgs = pkgs: [
|
||||
jdk
|
||||
];
|
||||
})
|
||||
lutris.override
|
||||
{
|
||||
extraPkgs = pkgs: [];
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -31,8 +31,7 @@
|
|||
neocmakelsp
|
||||
bash-language-server
|
||||
nixd
|
||||
emmet-language-server
|
||||
vscode-langservers-extracted
|
||||
emmet-ls
|
||||
|
||||
# Linters / formatters
|
||||
stylua
|
||||
|
@ -43,7 +42,6 @@
|
|||
hadolint
|
||||
markdownlint-cli2
|
||||
nodePackages.prettier
|
||||
nodePackages.eslint
|
||||
shellcheck
|
||||
shfmt
|
||||
alejandra
|
||||
|
|
|
@ -47,7 +47,7 @@ in {
|
|||
# Enter suspend/sleep state (10 minutes)
|
||||
{
|
||||
timeout = 600;
|
||||
on-timeout = "systemctl suspend";
|
||||
on-timeout = "systemctl suspend-then-hibernate";
|
||||
}
|
||||
];
|
||||
};
|
||||
|
|
|
@ -14,13 +14,11 @@ in {
|
|||
enable = true;
|
||||
lockMessage = "System is locked...";
|
||||
|
||||
# Don't auto-lock the system with physlock, I prefer other (gui) lockers
|
||||
# I only use physlock manually in some circumstances
|
||||
lockOn = {
|
||||
# Don't auto-lock the system with physlock on suspend, I prefer other (gui) lockers
|
||||
suspend = false;
|
||||
# Do use physlock on resuming from hibernation though, as this just restored RAM,
|
||||
# potentially bypassing the login screen and even initial disk encryption password
|
||||
hibernate = true;
|
||||
hibernate = false;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -11,10 +11,10 @@ in {
|
|||
# despite being under logind, this has nothing to do with login
|
||||
# it's about power management
|
||||
services.logind = {
|
||||
lidSwitch = "suspend";
|
||||
lidSwitch = "suspend-then-hibernate";
|
||||
lidSwitchExternalPower = "suspend";
|
||||
extraConfig = ''
|
||||
HandlePowerKey=suspend
|
||||
HandlePowerKey=suspend-then-hibernate
|
||||
HibernateDelaySec=3600
|
||||
'';
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue