2023-06-24 21:24:20 +02:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}: {
|
|
|
|
imports = [./hardware.nix];
|
2023-01-31 09:38:11 +01:00
|
|
|
|
|
|
|
networking = {
|
2023-02-11 04:58:34 +01:00
|
|
|
hostName = "futomaki";
|
2023-01-31 09:38:11 +01:00
|
|
|
networkmanager.enable = true;
|
|
|
|
firewall.enable = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
time.timeZone = "Europe/Vienna";
|
|
|
|
i18n.defaultLocale = "en_US.UTF-8";
|
|
|
|
|
2023-02-10 07:46:37 +01:00
|
|
|
services = {
|
2023-01-31 09:38:11 +01:00
|
|
|
openssh.enable = true;
|
|
|
|
pcscd.enable = true;
|
2023-06-24 21:24:20 +02:00
|
|
|
transmission.enable = true;
|
|
|
|
transmission.openFirewall = true;
|
2023-01-31 09:38:11 +01:00
|
|
|
};
|
|
|
|
|
2023-02-11 04:58:34 +01:00
|
|
|
virtualisation.docker.enable = true;
|
2023-03-17 03:47:27 +01:00
|
|
|
virtualisation.libvirtd.enable = true;
|
2023-02-11 04:58:34 +01:00
|
|
|
|
2023-06-24 21:24:20 +02:00
|
|
|
users.users."${config.dotfiles.username}".extraGroups = ["docker" "libvirtd" "transmission"];
|
2023-03-16 13:02:58 +01:00
|
|
|
|
2023-05-13 07:04:20 +02:00
|
|
|
environment.systemPackages = with pkgs; [
|
2023-05-26 21:59:31 +02:00
|
|
|
cabextract
|
2023-07-08 04:36:44 +02:00
|
|
|
heroic
|
2023-07-18 04:21:31 +02:00
|
|
|
mangohud
|
2023-05-13 07:04:20 +02:00
|
|
|
nur.repos.nekowinston.discover-overlay
|
2023-07-18 04:21:31 +02:00
|
|
|
virt-manager
|
2023-05-26 21:59:31 +02:00
|
|
|
wineWowPackages.waylandFull
|
2023-05-13 07:04:20 +02:00
|
|
|
winetricks
|
|
|
|
];
|
|
|
|
|
2023-03-16 13:02:58 +01:00
|
|
|
programs = {
|
|
|
|
gamemode = {
|
|
|
|
enable = true;
|
|
|
|
settings = {
|
|
|
|
custom = {
|
|
|
|
start = "${pkgs.libnotify}/bin/notify-send 'GameMode started'";
|
|
|
|
end = "${pkgs.libnotify}/bin/notify-send 'GameMode ended'";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2023-07-18 04:21:31 +02:00
|
|
|
steam = {
|
|
|
|
enable = true;
|
|
|
|
package = pkgs.steam.override {
|
|
|
|
extraEnv.MANGOHUD = 1;
|
|
|
|
extraPkgs = p: with p; [corefonts protontricks];
|
|
|
|
};
|
|
|
|
};
|
2023-03-16 13:02:58 +01:00
|
|
|
};
|
2023-01-31 09:38:11 +01:00
|
|
|
}
|