Add Thunderbird, cut down on swap usage to make hibernation more reliable
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
./locale.nix
|
||||
./nix.nix
|
||||
./packages.nix
|
||||
./sleep.nix
|
||||
./user.nix
|
||||
];
|
||||
|
||||
|
||||
13
modules/base/sleep.nix
Normal file
13
modules/base/sleep.nix
Normal 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"
|
||||
];
|
||||
}
|
||||
@@ -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!
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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 |
24
modules/desktop/home/thunderbird.nix
Normal file
24
modules/desktop/home/thunderbird.nix
Normal 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;
|
||||
};
|
||||
}
|
||||
16
modules/desktop/plasma/default.nix
Normal file
16
modules/desktop/plasma/default.nix
Normal 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;
|
||||
}
|
||||
6
modules/desktop/plasma/home/default.nix
Normal file
6
modules/desktop/plasma/home/default.nix
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
# programs.plasma = {
|
||||
# enable = true;
|
||||
# immutableByDefault = true;
|
||||
# };
|
||||
}
|
||||
Reference in New Issue
Block a user