feat: synchronize, hibernate

This commit is contained in:
Kat Inskip 2025-10-22 15:31:51 -07:00
parent 6bb963d9ad
commit a4b63004fb
Signed by: kat
GPG key ID: 465E64DECEA8CF0F
18 changed files with 48 additions and 110 deletions

View file

@ -1,9 +1,8 @@
{pkgs, ...}: {
fonts = {
packages = with pkgs; [
font-awesome
twitter-color-emoji
iosevka-bin
cozette
monaspace
];
};

View file

@ -1,10 +0,0 @@
{
pkgs,
inputs,
...
}: {
programs.nh = {
enable = true;
package = inputs.nh.packages.${pkgs.system}.nh;
};
}

View file

@ -1,11 +0,0 @@
_: {
services.nixos-cli = {
enable = true;
config = {
use_nvd = true;
apply = {
use_nom = true;
};
};
};
}

View file

@ -23,19 +23,19 @@
popups = 0.8;
};
image = ./stylix.png;
polarity = "light";
polarity = "dark";
fonts = {
sansSerif = {
name = "Jost";
package = pkgs.jost;
name = "CozetteCrossedSevenVector";
package = pkgs.cozette;
};
serif = {
name = "Libre Baskerville";
package = pkgs.libre-baskerville;
};
monospace = {
name = "Monaspace Krypton";
package = pkgs.monaspace;
name = "CozetteCrossedSevenVector";
package = pkgs.cozette;
};
};
autoEnable = true;

3
nixos/common/zfs.nix Normal file
View file

@ -0,0 +1,3 @@
_: {
boot.zfs.requestEncryptionCredentials = true;
}

View file

@ -1,15 +1,13 @@
{pkgs, ...}: {
fonts = {
packages = with pkgs; [
font-awesome
noto-fonts-cjk-sans
twitter-color-emoji
iosevka-bin
monaspace
corefonts
vistafonts
open-dyslexic
ubuntu-sans
monaspace
jost
];
enableDefaultPackages = true;

View file

@ -1,2 +0,0 @@
_: {
}

View file

@ -0,0 +1,12 @@
_: {
systemd.sleep.extraConfig = ''
HibernateDelaySec=30m
SuspendState=mem
'';
boot.kernelParams = ["mem_sleep_default=deep"];
services.logind = {
powerKey = "hibernate";
powerKeyLongPress = "poweroff";
lidSwitch = "suspend-then-hibernate";
};
}

View file

@ -0,0 +1,3 @@
_: {
services.power-profiles-daemon.enable = true;
}