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-09-20 08:57:36 +02:00
|
|
|
dotfiles = {
|
|
|
|
desktop = "sway";
|
|
|
|
gaming.enable = true;
|
|
|
|
};
|
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-01-31 09:38:11 +01:00
|
|
|
openssh.enable = true;
|
|
|
|
pcscd.enable = true;
|
|
|
|
};
|
|
|
|
|
2024-09-20 08:57:36 +02:00
|
|
|
virtualisation = {
|
|
|
|
libvirtd.enable = true;
|
|
|
|
podman.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"
|
|
|
|
];
|
2023-03-16 13:02:58 +01:00
|
|
|
|
2023-05-13 07:04:20 +02:00
|
|
|
environment.systemPackages = with pkgs; [
|
2024-09-20 08:57:36 +02:00
|
|
|
(pkgs.wrapOBS {
|
|
|
|
plugins = with pkgs.obs-studio-plugins; [
|
|
|
|
obs-backgroundremoval
|
|
|
|
obs-composite-blur
|
|
|
|
obs-pipewire-audio-capture
|
|
|
|
wlrobs
|
|
|
|
];
|
|
|
|
})
|
2023-07-18 04:21:31 +02:00
|
|
|
virt-manager
|
2024-09-20 08:57:36 +02:00
|
|
|
virtiofsd
|
2023-05-13 07:04:20 +02:00
|
|
|
];
|
|
|
|
|
2024-02-11 20:12:32 +01:00
|
|
|
system.stateVersion = "22.11";
|
2023-01-31 09:38:11 +01:00
|
|
|
}
|