mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-04-24 12:19:12 +00:00
Update "A happy GNOME" theme
- The custom dconf is now placed as a keyfile in the appropriate directory. - Add more packages to the theme module. Update GNOME 2
This commit is contained in:
parent
6b481a163a
commit
dda3974ee7
@ -4,12 +4,11 @@
|
|||||||
# See https://github.com/NixOS/nixpkgs/issues/54150 for more details.
|
# See https://github.com/NixOS/nixpkgs/issues/54150 for more details.
|
||||||
let
|
let
|
||||||
name = "a-happy-gnome";
|
name = "a-happy-gnome";
|
||||||
dconf = pkgs.gnome3.dconf;
|
|
||||||
customDconfDb = pkgs.stdenv.mkDerivation {
|
|
||||||
name = "${name}-dconf-db";
|
|
||||||
buildCommand = "${dconf}/bin/dconf compile $out ${./config/dconf}";
|
|
||||||
};
|
|
||||||
cfg = config.themes.themes.a-happy-gnome;
|
cfg = config.themes.themes.a-happy-gnome;
|
||||||
|
dconfConfig = pkgs.runCommand "install-a-happy-gnome-dconf-keyfiles" {} ''
|
||||||
|
mkdir -p $out/etc/dconf/db/database.d
|
||||||
|
install -Dm644 ${./config/dconf}/*.conf -t $out/etc/dconf/db/database.d
|
||||||
|
'';
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
options.themes.themes.a-happy-gnome.enable = lib.mkEnableOption "'A happy GNOME', foo-dogsquared's configuration of GNOME desktop environment";
|
options.themes.themes.a-happy-gnome.enable = lib.mkEnableOption "'A happy GNOME', foo-dogsquared's configuration of GNOME desktop environment";
|
||||||
@ -45,12 +44,17 @@ in
|
|||||||
services.gnome.chrome-gnome-shell.enable = true;
|
services.gnome.chrome-gnome-shell.enable = true;
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
|
# My custom configuration!
|
||||||
|
dconfConfig
|
||||||
|
|
||||||
# It is required for custom menus in extensions.
|
# It is required for custom menus in extensions.
|
||||||
gnome-menus
|
gnome-menus
|
||||||
|
|
||||||
# Good ol' unofficial preferences tool.
|
# Good ol' unofficial preferences tool.
|
||||||
gnome.gnome-tweaks
|
gnome.gnome-tweaks
|
||||||
|
|
||||||
|
gnome.gnome-boxes
|
||||||
|
|
||||||
# My preferred extensions.
|
# My preferred extensions.
|
||||||
gnomeExtensions.arcmenu
|
gnomeExtensions.arcmenu
|
||||||
gnomeExtensions.gsconnect
|
gnomeExtensions.gsconnect
|
||||||
@ -58,10 +62,15 @@ in
|
|||||||
gnomeExtensions.kimpanel
|
gnomeExtensions.kimpanel
|
||||||
gnomeExtensions.runcat
|
gnomeExtensions.runcat
|
||||||
gnomeExtensions.just-perfection
|
gnomeExtensions.just-perfection
|
||||||
|
gnomeExtensions.mpris-indicator-button
|
||||||
|
|
||||||
# TODO: Use from nixpkgs once fly-pie is fixed.
|
# TODO: Use from nixpkgs once fly-pie is fixed.
|
||||||
gnome-shell-extension-fly-pie
|
gnome-shell-extension-fly-pie
|
||||||
|
|
||||||
|
# TODO: Also these two...
|
||||||
|
gnome-shell-extension-burn-my-windows
|
||||||
|
gnome-shell-extension-desktop-cube
|
||||||
|
|
||||||
# Setting up Pop shell.
|
# Setting up Pop shell.
|
||||||
gnome-shell-extension-pop-shell
|
gnome-shell-extension-pop-shell
|
||||||
pop-launcher
|
pop-launcher
|
||||||
|
Loading…
Reference in New Issue
Block a user