Update common.nix
This commit is contained in:
parent
7c360e2f46
commit
472f7dfa08
1 changed files with 10 additions and 7 deletions
17
common.nix
17
common.nix
|
|
@ -78,16 +78,19 @@ users.users.fred = {
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
bazaar
|
bazaar
|
||||||
fastfetch
|
fastfetch
|
||||||
vesktop
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
# User-specific environment variables
|
environment.systemPackages = with pkgs; [
|
||||||
users.mutableUsers = true; # usually true
|
(vesktop.overrideAttrs (old: {
|
||||||
environment.variables = {
|
installPhase = ''
|
||||||
GTK_THEME = "Adwaita:dark";
|
mkdir -p $out/bin
|
||||||
};
|
echo '#!/bin/sh' > $out/bin/vesktop
|
||||||
|
echo 'GTK_THEME=Adwaita:dark exec ${old}/bin/vesktop "$@"' >> $out/bin/vesktop
|
||||||
|
chmod +x $out/bin/vesktop
|
||||||
|
'';
|
||||||
|
}))
|
||||||
|
];
|
||||||
|
|
||||||
# Allow unfree packages
|
# Allow unfree packages
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue