nix-config/hosts/widar/default.nix
Lander Van den Bulcke 1eef0130b8
feat: graphics tweaks
Signed-off-by: Lander Van den Bulcke <landervandenbulcke@gmail.com>
2024-12-25 19:48:00 +01:00

87 lines
1.7 KiB
Nix

{pkgs, ...}: {
imports = [
./hardware-configuration.nix
../common/global
../common/users/lander
../common/optional/fonts.nix
../common/optional/yubikey-gpg.nix
../common/optional/virt.nix
../common/optional/steam.nix
];
networking = {
hostName = "widar";
networkmanager.enable = true;
};
boot = {
loader = {
systemd-boot.enable = true;
efi.canTouchEfiVariables = true;
};
};
services.xserver.enable = true;
services.xserver.displayManager.gdm.enable = true;
services.xserver.desktopManager.gnome.enable = true;
services.xserver.xkb = {
layout = "us";
variant = "";
};
hardware.pulseaudio.enable = false;
security.rtkit.enable = true;
services.pipewire = {
enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
jack.enable = true;
};
hardware.graphics = {
enable = true;
enable32Bit = true;
};
#24.11
hardware.graphics.extraPackages = with pkgs; [
amdvlk
];
# For 32 bit applications
hardware.graphics.extraPackages32 = with pkgs; [
driversi686Linux.amdvlk
];
systemd.packages = with pkgs; [lact];
systemd.services.lactd.wantedBy = ["multi-user.target"];
programs.gamemode.enable = true;
nixpkgs.config.allowUnfree = true;
environment.systemPackages = with pkgs; [
(firefox.override {extraNativeMessagingHosts = [passff-host];})
vim
wget
git
texliveFull
terraform
tf-summarize
awscli2
libreoffice
x32edit
lact
];
nix.settings.experimental-features = ["nix-command" "flakes"];
services.tailscale.enable = true;
services.printing.enable = true;
services.printing.drivers = [pkgs.brlaser];
system.stateVersion = "24.11";
}