refactoring some stuff

This commit is contained in:
Jo 2023-10-25 12:12:59 +02:00
parent 687254741c
commit 5b7d0b0a49
6 changed files with 160 additions and 49 deletions

View file

@ -1,5 +1,3 @@
# This is your home-manager configuration file
# Use this to configure your home environment (it replaces ~/.config/nixpkgs/home.nix)
{
inputs,
lib,
@ -11,9 +9,6 @@
imports = [
# If you want to use home-manager modules from other flakes (such as nix-colors):
# inputs.nix-colors.homeManagerModule
# You can also split up your configuration and import pieces of it here:
# ./nvim.nix
];
nixpkgs = {
@ -38,12 +33,89 @@
};
};
# TODO: Set your username
home = {
username = "jo";
homeDirectory = "/home/jo";
};
home.packages = with pkgs.gnomeExtensions; [
user-themes
dash-to-dock
appindicator
blur-my-shell
rounded-window-corners
];
dconf.settings = with lib.hm.gvariant; {
"org/gnome/shell" = {
disable-user-extensions = false;
# enabled-extensions = map (extension: extension.extensionUuid) home.packages;
disabled-extensions = [ ];
};
"org/gnome/shell/extensions/user-theme" = {
name = config.gtk.theme.name;
};
# "org/gnome/shell/extensions/dash-to-dock" = {
# "appicon-margin" = 0;
# "appicon-padding" = 6;
# "tray-padding" = 4;
# "click-action" = "TOGGLE-SHOWPREVIEW";
# "dot-position" = "TOP";
# "dot-style-focused" = "METRO";
# "dot-style-unfocused" = "DASHES";
# "group-apps" = true;
# "isolate-workspaces" = true;
# "middle-click-action" = "MINIMIZE";
# "shift-click-action" = "LAUNCH";
# "scroll-icon-action" = "NOTHING";
# "scroll-panel-action" = "NOTHING";
# "stockgs-panelbtn-click-only" = true;
# };
"org/gnome/desktop/interface" = {
color-scheme = "prefer-dark";
clock-show-weekday = true;
clock-show-date = true;
clock-show-seconds = false;
enable-hot-corners = false;
};
"org/gnome/desktop/input-sources" = {
sources = [ (mkTuple [ "xkb" "de" ]) ];
};
"org/gnome/shell" = {
favorite-apps = [
"firefox.desktop"
"org.gnome.Nautilus.desktop"
];
};
};
gtk = {
enable = true;
theme = {
name = "Adw-gtk3";
package = pkgs.adw-gtk3;
};
cursorTheme = {
name = "Catppuccin-Macchiato-Dark-Cursors";
package = pkgs.catppuccin-cursors.macchiatoRed;
size = 32;
};
};
# home.file.".config/gtk-4.0/gtk.css".source = "${orchis}/share/themes/Orchis-Green-Dark-Compact/gtk-4.0/gtk.css";
# home.file.".config/gtk-4.0/gtk-dark.css".source = "${orchis}/share/themes/Orchis-Green-Dark-Compact/gtk-4.0/gtk-dark.css";
# home.file.".config/gtk-4.0/assets" = {
# recursive = true;
# source = "${orchis}/share/themes/Orchis-Green-Dark-Compact/gtk-4.0/assets";
# };
# Add stuff for your user as you see fit:
# programs.neovim.enable = true;
# home.packages = with pkgs; [ steam ];