Compare commits

..

No commits in common. "9c0f3ce601a4368c5362f67707879db4b5b8ee8b" and "5d23126205c456c3861519e6f7b5cf309976530a" have entirely different histories.

5 changed files with 1 additions and 41 deletions

View File

@ -42,7 +42,7 @@
];
nix.settings.trusted-users = [ "@wheel" ];
# boot.kernelPackages = pkgs.linuxPackages_6_11;
boot.kernelPackages = pkgs.linuxPackages_6_11;
hardware.enableRedistributableFirmware = true;
services.getty = {

View File

@ -3,7 +3,6 @@
imports = [
./hardware-configuration.nix
./disk-config.nix
./optimized_build.nix
];
# Generate with `head -c4 /dev/urandom | od -A none -t x4`

View File

@ -1,30 +0,0 @@
{
config,
lib,
pkgs,
...
}:
{
imports = [ ];
nixpkgs.overlays = [
(
self: super:
let
optimizeWithFlags =
pkg: flags:
pkg.overrideAttrs (old: {
NIX_CFLAGS_COMPILE = [ (old.NIX_CFLAGS_COMPILE or "") ] ++ flags;
});
in
{
linux_znver4 = optimizeWithFlags super.linux_zen [
"-march=znver4"
"-mtune=znver4"
];
}
)
];
boot.kernelPackages = lib.mkIf (!config.me.buildingIso) (pkgs.linuxPackagesFor pkgs.linux_znver4);
}

View File

@ -298,13 +298,11 @@ in
''
export WLR_RENDERER_ALLOW_SOFTWARE=1
export NIXOS_OZONE_WL=1 # Wayland support for chromium and electron
export QT_QPA_PLATFORMTHEME=gtk3 # Use gtk theme in Qt applications
''
else
''
export WLR_RENDERER=vulkan
export NIXOS_OZONE_WL=1 # Wayland support for chromium and electron
export QT_QPA_PLATFORMTHEME=gtk3 # Use gtk theme in Qt applications
'';
programs.sway = {
@ -368,10 +366,5 @@ in
source = ./files/mimeapps.list;
};
};
home.file = {
".config/gtk-3.0/settings.ini" = {
source = ./files/settings.ini;
};
};
};
}

View File

@ -1,2 +0,0 @@
[Settings]
gtk-application-prefer-dark-theme=1