mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
switch to global theming configuration
This commit is contained in:
parent
b3cb8940d4
commit
3bb6302f03
6 changed files with 56 additions and 53 deletions
|
|
@ -50,13 +50,6 @@
|
|||
};
|
||||
};
|
||||
|
||||
#themeing
|
||||
qt = {
|
||||
enable = true;
|
||||
style = "gtk2";
|
||||
platformTheme = "gtk2";
|
||||
};
|
||||
|
||||
#time settings
|
||||
time.timeZone = "America/New_York";
|
||||
services = {
|
||||
|
|
|
|||
|
|
@ -3,9 +3,7 @@
|
|||
lib,
|
||||
inputs,
|
||||
...
|
||||
}: let
|
||||
helperfunc = args: (lib.lists.forEach args (m: ./. + ("/" + m + ".nix")));
|
||||
in {
|
||||
}: {
|
||||
home-manager = {
|
||||
useGlobalPkgs = true;
|
||||
useUserPackages = false;
|
||||
|
|
@ -13,10 +11,8 @@ in {
|
|||
users = {
|
||||
${settings.username} = {
|
||||
imports =
|
||||
helperfunc
|
||||
[
|
||||
"theme"
|
||||
"spicetify"
|
||||
./spicetify.nix
|
||||
];
|
||||
xsession.numlock.enable = true;
|
||||
home = {
|
||||
|
|
@ -24,18 +20,6 @@ in {
|
|||
stateVersion = settings.version;
|
||||
};
|
||||
};
|
||||
root = {
|
||||
imports =
|
||||
helperfunc
|
||||
[
|
||||
"theme"
|
||||
];
|
||||
home = {
|
||||
username = "root";
|
||||
homeDirectory = "/root";
|
||||
stateVersion = settings.version;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,24 +0,0 @@
|
|||
{pkgs, ...}: {
|
||||
gtk = {
|
||||
enable = true;
|
||||
theme = {
|
||||
package = pkgs.flat-remix-gtk;
|
||||
name = "Flat-Remix-GTK-Blue-Darkest";
|
||||
};
|
||||
iconTheme = {
|
||||
package = pkgs.flat-remix-icon-theme;
|
||||
name = "Flat-Remix-Blue-Dark";
|
||||
};
|
||||
font = {
|
||||
name = "Overpass";
|
||||
size = 10;
|
||||
};
|
||||
};
|
||||
home.pointerCursor = {
|
||||
gtk.enable = true;
|
||||
x11.enable = true;
|
||||
package = pkgs.quintom-cursor-theme;
|
||||
name = "Quintom_Ink";
|
||||
size = 16;
|
||||
};
|
||||
}
|
||||
48
modules/theme.nix
Normal file
48
modules/theme.nix
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
{pkgs,...}:
|
||||
{
|
||||
environment = {
|
||||
systemPackages = with pkgs;
|
||||
[
|
||||
flat-remix-gtk
|
||||
flat-remix-icon-theme
|
||||
quintom-cursor-theme
|
||||
];
|
||||
etc = {
|
||||
"xdg/gtk-4.0/settings.ini".text = ''
|
||||
[Settings]
|
||||
gtk-cursor-theme-name=Quintom_Ink
|
||||
gtk-cursor-theme-size=16
|
||||
gtk-font-name=Overpass 10
|
||||
gtk-icon-theme-name=Flat-Remix-Blue-Dark
|
||||
gtk-theme-name=Flat-Remix-GTK-Blue-Darkest
|
||||
'';
|
||||
"xdg/gtk-3.0/settings.ini".text = ''
|
||||
[Settings]
|
||||
gtk-cursor-theme-name=Quintom_Ink
|
||||
gtk-cursor-theme-size=16
|
||||
gtk-font-name=Overpass 10
|
||||
gtk-icon-theme-name=Flat-Remix-Blue-Dark
|
||||
gtk-theme-name=Flat-Remix-GTK-Blue-Darkest
|
||||
'';
|
||||
"xdg/gtk-2.0/gtkrc".text = ''
|
||||
gtk-cursor-theme-name = "Quintom_Ink"
|
||||
gtk-cursor-theme-size = 16
|
||||
gtk-font-name = "Overpass 10"
|
||||
gtk-icon-theme-name = "Flat-Remix-Blue-Dark"
|
||||
gtk-theme-name = "Flat-Remix-GTK-Blue-Darkest"
|
||||
'';
|
||||
"xdg/Xresources".text = ''
|
||||
Xcursor.size: 16
|
||||
Xcursor.theme: Quintom_Ink
|
||||
'';
|
||||
};
|
||||
};
|
||||
qt = {
|
||||
enable = true;
|
||||
style = "gtk2";
|
||||
platformTheme = "gtk2";
|
||||
};
|
||||
services.xserver.displayManager.sessionCommands = ''
|
||||
xrdb -load /etc/xdg/Xresources
|
||||
'';
|
||||
}
|
||||
|
|
@ -7,17 +7,18 @@
|
|||
imports = let
|
||||
modules = [
|
||||
"boot"
|
||||
"dwm"
|
||||
"fonts"
|
||||
"git"
|
||||
#"mining"
|
||||
"packages"
|
||||
"parrot"
|
||||
"picom"
|
||||
"refreshrate"
|
||||
"sxhkd"
|
||||
"vfio"
|
||||
"dwm"
|
||||
"shells"
|
||||
"sxhkd"
|
||||
"theme"
|
||||
"vfio"
|
||||
#"mining"
|
||||
];
|
||||
in
|
||||
lib.lists.forEach modules (
|
||||
|
|
|
|||
|
|
@ -14,6 +14,7 @@
|
|||
"gnome"
|
||||
"shells"
|
||||
"gaming"
|
||||
"theme"
|
||||
];
|
||||
in
|
||||
lib.lists.forEach modules (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue