nixos-config/configs/workout/configuration.nix

60 lines
1 KiB
Nix
Raw Normal View History

2019-12-20 05:54:26 +01:00
{ lib, config, pkgs, ... }: {
2019-10-24 02:20:38 +02:00
imports = [
<system/desktop>
./hardware-configuration.nix
./kibana.nix
./packages.nix
./slack.nix
./syncthing.nix
./tinc.nix
];
2019-12-20 05:54:26 +01:00
networking.hostName = "workout";
2019-10-24 02:20:38 +02:00
services.logind.lidSwitch = lib.mkForce "ignore";
security.wrappers = {
2019-12-20 05:54:26 +01:00
pmount.source = "${pkgs.pmount}/bin/pmount";
pumount.source = "${pkgs.pmount}/bin/pumount";
2019-10-24 02:20:38 +02:00
};
# nix-shell -p speedtest_cli --run speedtest
configuration.fireqos = {
enable = true;
interface = "wlp1s0";
input = 4200;
output = 1200;
balance = false;
};
programs.custom.steam.enable = true;
programs.custom.video.enable = true;
# font
# ----
2019-12-20 05:54:26 +01:00
programs.custom.urxvt.fontSize = 17;
programs.custom.xterm.fontSize = 17;
2019-10-24 02:20:38 +02:00
system.custom.fonts.dpi = 140;
services.printing.enable = true;
virtualisation = {
docker.enable = true;
virtualbox = {
2019-12-20 05:54:26 +01:00
host.enable = true;
guest.x11 = true;
2019-10-24 02:20:38 +02:00
guest.enable = true;
};
};
configuration.desktop = {
width = 2560;
height = 1440;
};
}