Update packages for hephaestus

This commit is contained in:
Dave Gallant
2022-10-17 20:35:05 -04:00
parent 2d26d1697b
commit 7237ed70b0
6 changed files with 31 additions and 40 deletions

View File

@@ -2,11 +2,8 @@
services.xserver = { services.xserver = {
enable = true; enable = true;
displayManager = { displayManager = {
lightdm = {
enable = true;
};
gdm = { gdm = {
enable = false; enable = true;
wayland = true; wayland = true;
}; };
}; };

View File

@@ -5,10 +5,6 @@
}: { }: {
imports = [./hardware.nix]; imports = [./hardware.nix];
# Use the systemd-boot EFI boot loader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
hardware.opengl.enable = true; hardware.opengl.enable = true;
networking = { networking = {
@@ -35,14 +31,6 @@
services.tailscale = {enable = true;}; services.tailscale = {enable = true;};
services.xserver = { services.xserver = {
videoDrivers = ["nvidia"]; videoDrivers = ["amdgpu"];
deviceSection = ''
Option "Coolbits" "4"
'';
exportConfiguration = true;
}; };
services.udev.extraRules = ''
KERNEL=="hidraw*", SUBSYSTEM=="hidraw", MODE="0666"
'';
} }

View File

@@ -14,37 +14,43 @@
xpadneo xpadneo
]; ];
powerManagement.cpuFreqGovernor = "balanced"; boot.loader.efi.canTouchEfiVariables = true;
boot.loader.efi.efiSysMountPoint = "/boot/efi";
boot.initrd.luks.devices = { boot.loader.grub = {
luksroot = { enable = true;
device = "nodev";
version = 2;
efiSupport = true;
enableCryptodisk = true;
};
boot.initrd = {
luks.devices."root" = {
allowDiscards = true; allowDiscards = true;
device = "/dev/disk/by-uuid/570a2b97-3310-4784-9138-6e09037cea17"; device = "/dev/disk/by-uuid/21cd166c-1528-49a4-b31b-0d408d48aa80";
preLVM = true; preLVM = true;
keyFile = "./keyfile0.bin";
}; };
secrets = {
luksstorage = { "keyfile0.bin" = "/etc/secrets/initrd/keyfile0.bin";
allowDiscards = true;
device = "/dev/disk/by-uuid/23b54f60-1eb8-4bf1-b04c-79f8537c228a";
preLVM = true;
}; };
}; };
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
hardware.video.hidpi.enable = lib.mkDefault true;
fileSystems."/" = { fileSystems."/" = {
device = "/dev/disk/by-uuid/8cfaf3d2-1cae-48b0-a37b-6c192f0b2680"; device = "/dev/disk/by-uuid/a6723178-6f18-428e-b541-9ac901861125";
fsType = "ext4"; fsType = "ext4";
}; };
fileSystems."/boot" = { fileSystems."/boot/efi" = {
device = "/dev/disk/by-uuid/2368-A8CE"; device = "/dev/disk/by-uuid/3CFD-D749";
fsType = "vfat"; fsType = "vfat";
}; };
swapDevices = [{device = "/dev/disk/by-uuid/aca92a73-2941-40ca-88c4-0dd8607d232a";}]; swapDevices = [
{device = "/dev/disk/by-uuid/5d6d0388-2b15-4ff1-9f0f-391818a76090";}
fileSystems."/mnt/storage" = { ];
device = "/dev/disk/by-uuid/0f592fca-1d4e-43f7-9bf4-f1c3e19e841f";
fsType = "ext4";
};
hardware.video.hidpi.enable = lib.mkDefault true;
} }

View File

@@ -28,6 +28,6 @@ stdenv.mkDerivation rec {
chmod +x $out/bin/set-leds.sh chmod +x $out/bin/set-leds.sh
''; '';
nativeBuildInputs = with pkgs; [cmake pkgconfig]; nativeBuildInputs = with pkgs; [cmake pkg-config];
buildInputs = with pkgs; [xlibsWrapper xorg.libXi libuv systemd luajit libyaml]; buildInputs = with pkgs; [xlibsWrapper xorg.libXi libuv systemd luajit libyaml];
} }

View File

@@ -103,7 +103,7 @@ in {
openssl openssl
openvpn openvpn
sshfs # mac requires https://osxfuse.github.io/ sshfs # mac requires https://osxfuse.github.io/
vpngate #vpngate
whois whois
# backup # backup

View File

@@ -19,7 +19,7 @@ in {
firefox firefox
ghostscript ghostscript
gimp-with-plugins gimp-with-plugins
gnome3.gnome-tweaks gnome.gnome-tweaks
gnomeExtensions.appindicator gnomeExtensions.appindicator
guake guake
i3lock-fancy-rapid i3lock-fancy-rapid
@@ -34,7 +34,7 @@ in {
spotify spotify
steam steam
usbutils usbutils
virtmanager virt-manager
vlc vlc
wireshark-qt wireshark-qt
xautolock xautolock