Update common.nix

This commit is contained in:
ediblerope 2025-12-03 13:35:00 +00:00 committed by GitHub
parent bef5a51483
commit 139adb12a8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,19 +1,6 @@
# Common.nix # Common.nix
{ config, pkgs, lib, ... }: { config, pkgs, lib, ... }:
let
vesktopDark = pkgs.runCommand "vesktop-dark" {
buildInputs = [ pkgs.makeWrapper ];
} ''
mkdir -p $out/bin
cat > $out/bin/vesktop <<'EOF'
#!/bin/sh
GTK_THEME=Adwaita:dark exec ${pkgs.vesktop}/bin/vesktop "$@"
EOF
chmod +x $out/bin/vesktop
'';
in
{ {
# Use latest kernel # Use latest kernel
boot.kernelPackages = pkgs.linuxPackages_latest; boot.kernelPackages = pkgs.linuxPackages_latest;
@ -91,7 +78,6 @@ users.users.fred = {
packages = with pkgs; [ packages = with pkgs; [
bazaar bazaar
fastfetch fastfetch
vesktopDark
]; ];
}; };