2019-12-20 05:54:26 +01:00
|
|
|
{ config, pkgs, lib, ... }: {
|
2019-10-24 02:20:38 +02:00
|
|
|
|
|
|
|
imports = [
|
2021-09-25 11:07:09 +02:00
|
|
|
|
|
|
|
../all
|
2019-10-24 02:20:38 +02:00
|
|
|
|
|
|
|
#./icecast.nix
|
2023-06-01 12:08:59 +02:00
|
|
|
#./audio.nix
|
2023-06-29 10:08:09 +02:00
|
|
|
#./mail-stuff.nix
|
2019-10-24 02:20:38 +02:00
|
|
|
./packages.nix
|
|
|
|
./size.nix
|
2023-06-01 14:02:57 +02:00
|
|
|
#./user.nix
|
2019-10-24 02:20:38 +02:00
|
|
|
./yubikey.nix
|
2019-12-20 05:54:26 +01:00
|
|
|
];
|
2019-10-24 02:20:38 +02:00
|
|
|
|
2023-02-17 00:41:22 +01:00
|
|
|
components.network.sshd.onlyTincAccess = lib.mkDefault true;
|
2022-10-13 10:19:23 +02:00
|
|
|
|
2021-10-20 08:47:59 +02:00
|
|
|
backup.dirs = [
|
|
|
|
"${config.users.users.mainUser.home}/.config/noti"
|
|
|
|
"${config.users.users.mainUser.home}/.password-store"
|
|
|
|
"${config.users.users.mainUser.home}/.task"
|
|
|
|
"${config.users.users.mainUser.home}/.vit"
|
|
|
|
];
|
2020-09-04 00:49:35 +02:00
|
|
|
|
2019-10-24 02:20:38 +02:00
|
|
|
programs.custom = {
|
|
|
|
|
|
|
|
urxvt = {
|
|
|
|
enable = true;
|
|
|
|
colorTheme = "light";
|
|
|
|
};
|
|
|
|
xterm = {
|
|
|
|
enable = true;
|
|
|
|
colorTheme = "light";
|
|
|
|
};
|
|
|
|
|
|
|
|
curlScripts.enable = true;
|
|
|
|
citate.enable = true;
|
|
|
|
vim.enable = true;
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
services.urxvtd.enable = true;
|
|
|
|
|
2023-06-01 12:08:59 +02:00
|
|
|
#system.custom.bluetooth.enable = true;
|
2019-10-24 02:20:38 +02:00
|
|
|
|
2020-01-29 03:00:12 +01:00
|
|
|
# temperature / power consumption
|
|
|
|
# https://linrunner.de/en/tlp/docs/tlp-linux-advanced-power-management.html
|
2021-07-07 04:38:18 +02:00
|
|
|
# todo fix this
|
|
|
|
#services.tlp.enable = false;
|
|
|
|
#services.thermald.enable = false;
|
2020-03-03 11:57:41 +01:00
|
|
|
# fucks up usb mouse
|
|
|
|
#powerManagement.powertop.enable = true;
|
2020-01-29 03:00:12 +01:00
|
|
|
|
2019-10-24 02:20:38 +02:00
|
|
|
# overwrite use zram on small RAM systems
|
2021-07-07 04:38:18 +02:00
|
|
|
fileSystems."/share" = lib.mkDefault {
|
2019-10-24 02:20:38 +02:00
|
|
|
device = "tmpfs";
|
|
|
|
fsType = "tmpfs";
|
|
|
|
};
|
|
|
|
|
|
|
|
# overwrite use zram on small RAM systems
|
2021-07-07 04:38:18 +02:00
|
|
|
fileSystems."/browsers" = lib.mkDefault {
|
2019-10-24 02:20:38 +02:00
|
|
|
device = "tmpfs";
|
|
|
|
fsType = "tmpfs";
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|