2024-05-07 18:20:52 +02:00
|
|
|
{ config, pkgs, ... }:
|
2023-06-24 21:24:20 +02:00
|
|
|
{
|
2024-05-07 18:20:52 +02:00
|
|
|
imports = [ ./hardware.nix ];
|
2023-01-31 09:38:11 +01:00
|
|
|
|
2024-03-10 10:22:46 +01:00
|
|
|
dotfiles.desktop = "sway";
|
2024-02-23 00:30:07 +01:00
|
|
|
|
2023-01-31 09:38:11 +01:00
|
|
|
networking = {
|
|
|
|
networkmanager.enable = true;
|
|
|
|
firewall.enable = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
i18n.defaultLocale = "en_US.UTF-8";
|
2024-02-15 18:49:22 +01:00
|
|
|
location = {
|
|
|
|
latitude = 48.210033;
|
|
|
|
longitude = 16.363449;
|
|
|
|
};
|
|
|
|
time.timeZone = "Europe/Vienna";
|
2023-01-31 09:38:11 +01:00
|
|
|
|
2023-02-10 07:46:37 +01:00
|
|
|
services = {
|
2023-09-14 20:29:51 +02:00
|
|
|
flatpak.enable = true;
|
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-08-25 23:23:54 +02:00
|
|
|
virtualisation.podman.enable = true;
|
2023-03-17 03:47:27 +01:00
|
|
|
virtualisation.libvirtd.enable = true;
|
2023-02-11 04:58:34 +01:00
|
|
|
|
2024-05-07 18:20:52 +02:00
|
|
|
users.users."${config.dotfiles.username}".extraGroups = [
|
|
|
|
"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
|
2024-08-11 18:08:20 +02:00
|
|
|
discover-overlay
|
2023-11-08 01:00:39 +01:00
|
|
|
lutris-free
|
2023-07-18 04:21:31 +02:00
|
|
|
mangohud
|
|
|
|
virt-manager
|
2023-09-14 20:29:51 +02:00
|
|
|
wineWowPackages.staging
|
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;
|
2024-05-07 18:20:52 +02:00
|
|
|
extraPkgs =
|
|
|
|
p: with p; [
|
2024-02-11 16:54:31 +01:00
|
|
|
corefonts
|
|
|
|
protontricks
|
|
|
|
gamescope
|
|
|
|
];
|
2023-07-18 04:21:31 +02:00
|
|
|
};
|
|
|
|
};
|
2023-03-16 13:02:58 +01:00
|
|
|
};
|
2024-02-11 20:12:32 +01:00
|
|
|
|
|
|
|
system.stateVersion = "22.11";
|
2023-01-31 09:38:11 +01:00
|
|
|
}
|