Configuration for pang13

This commit is contained in:
Elnu 2023-09-23 13:06:15 -07:00
parent 7734fbcd64
commit f342ac6f9d
10 changed files with 138 additions and 6 deletions

40
hosts/pang13/default.nix Normal file
View file

@ -0,0 +1,40 @@
{ config, pkgs, lib, ... }:
{
imports =
[ # Include the results of the hardware scan.
./hardware-configuration.nix
];
services.blueman.enable = true;
services.tailscale.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
boot.loader.grub = {
enable = true;
efiSupport = true;
enableCryptodisk = true;
device = "nodev";
useOSProber = true;
};
boot.initrd.luks.devices = {
crypted = {
device = "/dev/disk/by-uuid/24bc9d4e-fc76-4b70-ba95-8533c416a9d0";
preLVM = true;
};
};
# Support mounting NTFS partitions
boot.supportedFilesystems = [ "ntfs" ];
# audio controls and polybar module don't work on pipewire
hardware.pulseaudio = {
enable = true;
support32Bit = true;
};
services.pipewire.enable = lib.mkForce false;
}