nixos-config/system/desktop/default.nix
2020-01-29 15:00:12 +13:00

73 lines
1.3 KiB
Nix

{ config, pkgs, lib, ... }: {
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
./restic.nix
./size.nix
./sshd.nix
./suspend.nix
./user.nix
./x11.nix
./xlock.nix
./yubikey.nix
./wtf.nix
];
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;
system.custom = { bluetooth.enable = true; };
# temperature / power consumption
# https://linrunner.de/en/tlp/docs/tlp-linux-advanced-power-management.html
services.tlp.enable = true;
services.thermald.enable = true;
powerManagement.powertop.enable = true;
# 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";
};
}