nixos-config/system/desktop/default.nix

76 lines
1.4 KiB
Nix
Raw Normal View History

2019-12-20 05:54:26 +01:00
{ config, pkgs, lib, ... }: {
2019-10-24 02:20:38 +02:00
imports = [
<system/all>
#./icecast.nix
./audio.nix
./browser.nix
./cachix.nix
./direnv.nix
./dnsmasq.nix
./home-manager.nix
./mail-stuff.nix
./mc.nix
./network.nix
./packages.nix
./pass.nix
./remote-install.nix
./size.nix
./sshd.nix
./suspend.nix
./user.nix
./x11.nix
./xlock.nix
./yubikey.nix
2020-01-06 14:36:38 +01:00
./wtf.nix
2019-12-20 05:54:26 +01:00
];
2019-10-24 02:20:38 +02:00
2020-09-04 00:49:35 +02:00
backup.dirs = [ "/home/palo/.password-store" ];
2019-10-24 02:20:38 +02:00
programs.custom = {
urxvt = {
enable = true;
colorTheme = "light";
};
xterm = {
enable = true;
colorTheme = "light";
};
shellTools.enable = true;
taskwarrior.enable = true;
curlScripts.enable = true;
git.enable = true;
citate.enable = true;
vim.enable = true;
};
services.urxvtd.enable = true;
2020-04-13 21:10:54 +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
services.tlp.enable = true;
services.thermald.enable = true;
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
fileSystems."/share/" = lib.mkDefault {
device = "tmpfs";
fsType = "tmpfs";
};
# overwrite use zram on small RAM systems
fileSystems."/browsers/" = lib.mkDefault {
device = "tmpfs";
fsType = "tmpfs";
};
}