GNOME extensions

This commit is contained in:
Daniel Langbein 2023-09-05 16:20:15 +02:00
parent e7e8a83532
commit 94d5206f43
9 changed files with 32 additions and 6 deletions

View File

@ -14,6 +14,7 @@
./home-manager.nix ./home-manager.nix
../../modules/base.nix ../../modules/base.nix
../../modules/programs.nix ../../modules/programs.nix
../../modules/gnome-extensions.nix
../../modules/git.nix ../../modules/git.nix
../../modules/zsh.nix ../../modules/zsh.nix
../../modules/print-and-scan.nix ../../modules/print-and-scan.nix

View File

@ -7,6 +7,7 @@ in
imports = [ imports = [
(import "${home-manager}/nixos") (import "${home-manager}/nixos")
../../modules/base.home.nix ../../modules/base.home.nix
../../modules/gnome-extensions.home.nix
../../modules/git.home.nix ../../modules/git.home.nix
../../modules/zsh.home.nix ../../modules/zsh.home.nix
# TODO # TODO

View File

@ -14,6 +14,7 @@
./home-manager.nix ./home-manager.nix
../../modules/base.nix ../../modules/base.nix
../../modules/programs.nix ../../modules/programs.nix
../../modules/gnome-extensions.nix
../../modules/git.nix ../../modules/git.nix
../../modules/zsh.nix ../../modules/zsh.nix
../../modules/print-and-scan.nix ../../modules/print-and-scan.nix

View File

@ -7,6 +7,7 @@ in
imports = [ imports = [
(import "${home-manager}/nixos") (import "${home-manager}/nixos")
../../modules/base.home.nix ../../modules/base.home.nix
../../modules/gnome-extensions.home.nix
../../modules/git.home.nix ../../modules/git.home.nix
../../modules/zsh.home.nix ../../modules/zsh.home.nix
# TODO # TODO

View File

@ -1,9 +1,6 @@
{ config, pkgs, ... }: { config, pkgs, ... }:
{ {
/* Enable home-manager to configure GNOME */
programs.dconf.enable = true;
home-manager.users.yoda = { home-manager.users.yoda = {
/* The home.stateVersion option does not have a default and must be set */ /* The home.stateVersion option does not have a default and must be set */
/* https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion */ /* https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion */

View File

@ -2,8 +2,8 @@
{ {
users.users.yoda = { users.users.yoda = {
packages = with pkgs; [ packages = with pkgs; [
git git
]; ];
}; };
} }

View File

@ -0,0 +1,15 @@
{ config, pkgs, ... }:
{
/* Enable home-manager to configure GNOME */
programs.dconf.enable = true;
home-manager.users.yoda = {
dconf.settings = {
# Enable GNOME extensions.
"org/gnome/shell".enabled-extensions = [ pkgs.gnomeExtensions.caffeine.extensionUuid ];
};
};
}

View File

@ -0,0 +1,9 @@
{ config, pkgs, ... }:
{
users.users.yoda = {
packages = with pkgs; [
gnomeExtensions.caffeine
];
};
}

View File

@ -35,6 +35,7 @@
# Graphical Apps # Graphical Apps
gnome.gnome-tweaks gnome.gnome-tweaks
gnome.dconf-editor
firefox firefox
tor-browser-bundle-bin tor-browser-bundle-bin
thunderbird # email thunderbird # email