mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 04:19:19 -08:00
feat: synchronize, hibernate
This commit is contained in:
parent
6bb963d9ad
commit
a4b63004fb
18 changed files with 48 additions and 110 deletions
|
|
@ -1,9 +1,8 @@
|
|||
{pkgs, ...}: {
|
||||
fonts = {
|
||||
packages = with pkgs; [
|
||||
font-awesome
|
||||
twitter-color-emoji
|
||||
iosevka-bin
|
||||
cozette
|
||||
monaspace
|
||||
];
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1,10 +0,0 @@
|
|||
{
|
||||
pkgs,
|
||||
inputs,
|
||||
...
|
||||
}: {
|
||||
programs.nh = {
|
||||
enable = true;
|
||||
package = inputs.nh.packages.${pkgs.system}.nh;
|
||||
};
|
||||
}
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
_: {
|
||||
services.nixos-cli = {
|
||||
enable = true;
|
||||
config = {
|
||||
use_nvd = true;
|
||||
apply = {
|
||||
use_nom = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -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
3
nixos/common/zfs.nix
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
_: {
|
||||
boot.zfs.requestEncryptionCredentials = true;
|
||||
}
|
||||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -1,2 +0,0 @@
|
|||
_: {
|
||||
}
|
||||
12
nixos/profiles/laptop/hibernate.nix
Normal file
12
nixos/profiles/laptop/hibernate.nix
Normal 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";
|
||||
};
|
||||
}
|
||||
3
nixos/profiles/laptop/ppd.nix
Normal file
3
nixos/profiles/laptop/ppd.nix
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
_: {
|
||||
services.power-profiles-daemon.enable = true;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue