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;
|
2023-11-18 18:31:00 +00:00
|
|
|
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 = "";
|
|
|
|
};
|
|
|
|
|
2023-12-04 12:16:04 +00:00
|
|
|
environment.systemPackages = with pkgs; [
|
|
|
|
gnomeExtensions.appindicator
|
|
|
|
gnomeExtensions.mpris-label
|
|
|
|
];
|
|
|
|
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
|
|
|
|
2023-10-02 18:30:34 +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";
|
|
|
|
}
|