forest/hosts/alex/configuration.nix

64 lines
1.3 KiB
Nix
Raw Normal View History

2023-10-02 17:47:47 +00:00
{ config, pkgs, ... }: {
imports = [
../../common/generic.nix
../../common/generic-desktop.nix
2023-10-02 19:28:51 +00:00
../../common/generic-uefi.nix
2023-10-12 16:23:49 +00:00
../../common/tailscale.nix
2023-10-08 16:35:48 +00:00
../../common/tpm.nix
2023-10-12 19:36:26 +00:00
../../roles/podman.nix
2023-10-02 18:20:14 +00:00
./hardware-config.nix
2023-10-02 17:47:47 +00:00
];
2023-11-12 18:58:34 +00:00
boot.initrd.luks.devices.root = {
device = "/dev/disk/by-uuid/00f32b39-dfcb-4459-bf8e-aa68e2198466";
preLVM = true;
allowDiscards = true;
};
2023-11-12 18:53:53 +00:00
2023-10-02 17:47:47 +00:00
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;
jack.enable = true;
2023-10-02 17:47:47 +00:00
pulse.enable = true;
};
services.xserver = {
enable = true;
displayManager.gdm.enable = true;
desktopManager.gnome.enable = true;
layout = "gb";
# xkbVariant = "";
};
environment.systemPackages = with pkgs; [
gnomeExtensions.appindicator
gnomeExtensions.mpris-label
2023-12-06 10:39:21 +00:00
gnome.gnome-tweaks
];
services.udev.packages = with pkgs; [
gnome.gnome-settings-daemon
];
2023-10-23 13:07:07 +00:00
services.printing = {
enable = true;
drivers = with pkgs; [
hplip
];
};
2023-10-02 17:47:47 +00:00
hardware.bluetooth.enable = true;
2023-10-02 17:47:47 +00:00
programs.steam.enable = true;
nixpkgs.config.allowUnfree = true;
2023-10-31 13:40:11 +00:00
programs.calls.enable = true;
2023-10-02 17:47:47 +00:00
system.stateVersion = "22.11";
}