nixos-config/configs/workout/configuration.nix

60 lines
1.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
2020-04-05 23:02:30 +02:00
#./kibana.nix
2019-10-24 02:20:38 +02:00
./packages.nix
2020-04-05 23:02:30 +02:00
#./slack.nix
2019-10-24 02:20:38 +02:00
./syncthing.nix
./tinc.nix
2020-05-12 22:54:39 +02:00
./lan.nix
2019-10-24 02:20:38 +02:00
];
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 = {
2020-04-05 23:02:30 +02:00
docker.enable = false;
2019-10-24 02:20:38 +02:00
virtualbox = {
2020-04-05 23:02:30 +02:00
host.enable = false;
guest.x11 = false;
guest.enable = false;
2019-10-24 02:20:38 +02:00
};
};
configuration.desktop = {
width = 2560;
height = 1440;
};
}