forest/hosts/alex/configuration.nix
2023-11-12 18:58:34 +00:00

53 lines
1.1 KiB
Nix

{ config, pkgs, ... }: {
imports = [
../../common/generic.nix
../../common/generic-desktop.nix
../../common/generic-uefi.nix
../../common/tailscale.nix
../../common/tpm.nix
../../roles/podman.nix
./hardware-config.nix
];
boot.initrd.luks.devices.root = {
device = "/dev/disk/by-uuid/00f32b39-dfcb-4459-bf8e-aa68e2198466";
preLVM = true;
allowDiscards = true;
};
networking.hostName = "alex";
networking.firewall.enable = false;
sound.enable = true;
hardware.pulseaudio.enable = false;
security.rtkit.enable = true;
services.pipewire = {
enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
};
services.xserver = {
enable = true;
displayManager.gdm.enable = true;
desktopManager.gnome.enable = true;
layout = "gb";
# xkbVariant = "";
};
services.printing = {
enable = true;
drivers = with pkgs; [
hplip
];
};
hardware.bluetooth.enable = true;
programs.steam.enable = true;
nixpkgs.config.allowUnfree = true;
programs.calls.enable = true;
system.stateVersion = "22.11";
}