Small misc cleanup

This commit is contained in:
James Patrick 2022-05-03 00:11:02 -04:00
parent 0fb2f9504f
commit 9440bfad19
4 changed files with 9 additions and 13 deletions

View File

@ -65,6 +65,8 @@ in with lib; {
}; };
}; };
home.packages = with pkgs; [ tridactyl-native ];
# This is a bit silly as this is currently managed by my make dot config. # This is a bit silly as this is currently managed by my make dot config.
xdg.configFile."tridactyl/tridactylrc".source = pkgs.fetchurl { xdg.configFile."tridactyl/tridactylrc".source = pkgs.fetchurl {
url = url =

View File

@ -1,10 +1,5 @@
{ config, lib, pkgs, ... }: { { config, lib, pkgs, ... }: {
imports = [ imports = [ ./minimal.nix ];
../applications/firefox.nix
../applications/nextcloud.nix
../system/gtk.nix
./minimal.nix
];
this = { this = {
graphical.enable = true; graphical.enable = true;

View File

@ -6,7 +6,11 @@ let
sha256 = "sha256-alm6KRFca4VjzTyVEg+j1s0uKaSfvV76o3sgYNAisSA="; sha256 = "sha256-alm6KRFca4VjzTyVEg+j1s0uKaSfvV76o3sgYNAisSA=";
}; };
in { in {
imports = [ ../. ../system/xdg.nix ];
imports = [
../. # This imports /modules/default.nix
../system/xdg.nix
];
# Allow Cleanup, nix, & flakes # Allow Cleanup, nix, & flakes
nix = { nix = {
settings = { settings = {

View File

@ -3,11 +3,7 @@ let graphical = config.this.graphical;
in with lib; { in with lib; {
config = mkIf graphical.enable { config = mkIf graphical.enable {
home-manager.users.james = { home-manager.users.james = {
home.packages = with pkgs; [ home.packages = with pkgs; [ dracula-theme kora-icon-theme ];
dracula-theme
kora-icon-theme
numix-cursor-theme
];
home.sessionVariables = { GTK_THEME = "Dracula"; }; home.sessionVariables = { GTK_THEME = "Dracula"; };
systemd.user.sessionVariables = { GTK_THEME = "Dracula"; }; systemd.user.sessionVariables = { GTK_THEME = "Dracula"; };
@ -15,7 +11,6 @@ in with lib; {
[Settings] [Settings]
gtk-theme-name=Dracula gtk-theme-name=Dracula
gtk-icon-theme-name=kora gtk-icon-theme-name=kora
gtk-cursor-theme-name=Numix-Cursor
gtk-fallback-icon-theme=gnome gtk-fallback-icon-theme=gnome
gtk-application-prefer-dark-theme=true gtk-application-prefer-dark-theme=true
gtk-xft-hinting=1 gtk-xft-hinting=1