dotfiles/machines/futomaki/default.nix

58 lines
1.2 KiB
Nix
Raw Normal View History

2023-06-24 21:24:20 +02:00
{
config,
pkgs,
...
}: {
imports = [./hardware.nix];
networking = {
hostName = "futomaki";
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 = {
openssh.enable = true;
pcscd.enable = true;
2023-06-24 21:24:20 +02:00
transmission.enable = true;
transmission.openFirewall = true;
};
virtualisation.docker.enable = true;
2023-03-17 03:47:27 +01:00
virtualisation.libvirtd.enable = true;
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; [
cabextract
2023-07-08 04:36:44 +02:00
heroic
mangohud
2023-05-13 07:04:20 +02:00
nur.repos.nekowinston.discover-overlay
virt-manager
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'";
};
};
};
steam = {
enable = true;
package = pkgs.steam.override {
extraEnv.MANGOHUD = 1;
extraPkgs = p: with p; [corefonts protontricks];
};
};
2023-03-16 13:02:58 +01:00
};
}