Add Thunderbird, cut down on swap usage to make hibernation more reliable

This commit is contained in:
Ghostfox
2026-04-19 03:32:14 +02:00
parent c1e1488212
commit 94c6739530
10 changed files with 101 additions and 30 deletions

View File

@@ -11,6 +11,7 @@
./locale.nix
./nix.nix
./packages.nix
./sleep.nix
./user.nix
];

13
modules/base/sleep.nix Normal file
View File

@@ -0,0 +1,13 @@
{
systemd.sleep.settings.Sleep = {
# AllowSuspend = "no";
AllowHybridSleep = "no";
AllowSuspendThenHibernate = "no";
HibernationMode = "shutdown";
};
boot.kernelParams = [
"vm.swappiness=30"
"hibernate.compressor=lz4"
];
}

View File

@@ -1,3 +1,5 @@
This module contains common desktop configs
This means stuff like Vesktop and alike will be defined here
This means stuff like Vesktop and alike will be defined here
YOU NEED TO IMPORT `plasma/` manually!

View File

@@ -1,4 +1,4 @@
{ inputs, ... }:
{ inputs, pkgs, ... }:
{
imports = [
./tailscale.nix
@@ -11,6 +11,14 @@
./home
];
environment.systemPackages = with pkgs; [
neovide
featherpad
protonmail-desktop
];
environment.variables.EDITOR = "neovide";
catppuccin.enable = true;
catppuccin.cache.enable = true;

View File

@@ -1,9 +1,10 @@
{
imports = [
./zen-browser
./element.nix
./packages.nix
./thunderbird.nix
./vesktop.nix
./zen-browser
];
catppuccin.enable = true;

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

View File

@@ -0,0 +1,24 @@
{
# Thunderbird
programs.thunderbird = {
enable = true;
profiles.default = {
# name = "Default";
isDefault = true;
};
};
# Calendars
accounts.calendar.accounts.Main = {
# name = "Main";
primary = true;
remote = {
type = "caldav";
url = "http://dav.kurin.pi/radicale/ghostfox/3c2f5ce4-2fa6-1c5e-b08b-8ce2386c3739/";
userName = "ghostfox";
};
thunderbird.enable = true;
};
}

View File

@@ -0,0 +1,16 @@
{ inports, pkgs, ... }:
{
environment.plasma6.excludePackages = with pkgs.kdePackages; [
elisa
kwrite
kate
okular
];
home-manager.sharedModules = [
inputs.plasma-manager.homeModules.plasma-manager
./home
];
services.desktopManager.plasma6.enable = true;
}

View File

@@ -0,0 +1,6 @@
{
# programs.plasma = {
# enable = true;
# immutableByDefault = true;
# };
}