Update common.nix
This commit is contained in:
parent
bef5a51483
commit
139adb12a8
1 changed files with 0 additions and 14 deletions
14
common.nix
14
common.nix
|
|
@ -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
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue