dotfiles/machines/futomaki/default.nix

71 lines
1.4 KiB
Nix
Raw Normal View History

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 ];
dotfiles.desktop = "sway";
2024-02-23 00:30:07 +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-02-10 07:46:37 +01:00
services = {
flatpak.enable = true;
openssh.enable = true;
pcscd.enable = true;
2023-06-24 21:24:20 +02:00
transmission.enable = true;
transmission.openFirewall = true;
};
2023-08-25 23:23:54 +02:00
virtualisation.podman.enable = true;
2023-03-17 03:47:27 +01:00
virtualisation.libvirtd.enable = true;
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; [
cabextract
discover-overlay
lutris-free
mangohud
virt-manager
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'";
};
};
};
steam = {
enable = true;
package = pkgs.steam.override {
extraEnv.MANGOHUD = 1;
2024-05-07 18:20:52 +02:00
extraPkgs =
p: with p; [
corefonts
protontricks
gamescope
];
};
};
2023-03-16 13:02:58 +01:00
};
2024-02-11 20:12:32 +01:00
system.stateVersion = "22.11";
}