50 lines
901 B
Nix
50 lines
901 B
Nix
{ config, pkgs, ... }:
|
|
{
|
|
imports = [ ./hardware.nix ];
|
|
|
|
dotfiles = {
|
|
desktop = "sway";
|
|
gaming.enable = true;
|
|
};
|
|
|
|
networking = {
|
|
networkmanager.enable = true;
|
|
firewall.enable = true;
|
|
};
|
|
|
|
i18n.defaultLocale = "en_US.UTF-8";
|
|
location = {
|
|
latitude = 48.210033;
|
|
longitude = 16.363449;
|
|
};
|
|
time.timeZone = "Europe/Vienna";
|
|
|
|
services = {
|
|
openssh.enable = true;
|
|
pcscd.enable = true;
|
|
};
|
|
|
|
virtualisation = {
|
|
libvirtd.enable = true;
|
|
podman.enable = true;
|
|
};
|
|
|
|
users.users."${config.dotfiles.username}".extraGroups = [
|
|
"libvirtd"
|
|
];
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
(pkgs.wrapOBS {
|
|
plugins = with pkgs.obs-studio-plugins; [
|
|
obs-backgroundremoval
|
|
obs-composite-blur
|
|
obs-pipewire-audio-capture
|
|
wlrobs
|
|
];
|
|
})
|
|
virt-manager
|
|
virtiofsd
|
|
];
|
|
|
|
system.stateVersion = "22.11";
|
|
}
|