diff --git a/configuration.nix b/configuration.nix index bddfd63..c546c4e 100644 --- a/configuration.nix +++ b/configuration.nix @@ -61,6 +61,7 @@ desktopManager.wallpaper.mode = "fill"; }; + services.gvfs.enable = true; # Configure console keymap console.keyMap = "de"; @@ -91,6 +92,14 @@ wget ]; + programs.dconf.enable = true; + + environment.pathsToLink = [ "/share/zsh" ]; + + environment.sessionVariables = { + GTK_THEME = "Adwaita:dark"; + }; + # This value determines the NixOS release from which the default # settings for stateful data, like file locations and database versions # on your system were taken. It‘s perfectly fine and recommended to leave diff --git a/home.nix b/home.nix index 5dc7534..fd749d0 100644 --- a/home.nix +++ b/home.nix @@ -26,6 +26,7 @@ in ./programm_configs/i3.nix ./programm_configs/picom.nix ./programm_configs/zsh.nix + ./programm_configs/gnome.nix ]; # The home.packages option allows you to install Nix packages into your @@ -35,6 +36,7 @@ in polybar scrot imagemagick + htop firefox tex jetbrains.idea-ultimate @@ -59,5 +61,10 @@ in # envars home.sessionVariables = { EDITOR = "vim"; + GTK_THEME = "Adwaita:dark"; + }; + systemd.user.sessionVariables = { + GTK2_RC_FILES = "/home/clemens/.gtkrc-2.0"; + GTK_THEME = "Adwaita:dark"; }; } diff --git a/programm_configs/gnome.nix b/programm_configs/gnome.nix new file mode 100644 index 0000000..973d528 --- /dev/null +++ b/programm_configs/gnome.nix @@ -0,0 +1,31 @@ +{ pkgs, ... }: +{ + home.packages = with pkgs; [ + dconf + glib + gnome.nautilus + ]; + + dconf = { + enable = true; + settings = { + "org/gnome/desktop/interface" = { + color-scheme = "prefer-dark"; + }; + }; + }; + + gtk = { + enable = true; + theme = { + name = "Adwaita-dark"; + package = pkgs.gnome.gnome-themes-extra; + }; + + gtk4.extraConfig = { + gtk-application-prefer-dark-theme = true; + }; + }; + + +} diff --git a/programm_configs/zsh.nix b/programm_configs/zsh.nix index e818ea8..19412e9 100644 --- a/programm_configs/zsh.nix +++ b/programm_configs/zsh.nix @@ -2,9 +2,11 @@ { programs.zsh = { enable = true; + enableCompletion = true; + enableAutosuggestions = true; oh-my-zsh = { enable = true; - plugins = [ "git" "battery" "docker" "docker-compose" "virtualenv"]; + plugins = [ "git" "battery" "docker" "docker-compose" "virtualenv" ]; theme = "agnoster"; }; };