mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 08:53: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 settings
|
||||||
time.timeZone = "America/New_York";
|
time.timeZone = "America/New_York";
|
||||||
services = {
|
services = {
|
||||||
|
|
|
||||||
|
|
@ -3,9 +3,7 @@
|
||||||
lib,
|
lib,
|
||||||
inputs,
|
inputs,
|
||||||
...
|
...
|
||||||
}: let
|
}: {
|
||||||
helperfunc = args: (lib.lists.forEach args (m: ./. + ("/" + m + ".nix")));
|
|
||||||
in {
|
|
||||||
home-manager = {
|
home-manager = {
|
||||||
useGlobalPkgs = true;
|
useGlobalPkgs = true;
|
||||||
useUserPackages = false;
|
useUserPackages = false;
|
||||||
|
|
@ -13,10 +11,8 @@ in {
|
||||||
users = {
|
users = {
|
||||||
${settings.username} = {
|
${settings.username} = {
|
||||||
imports =
|
imports =
|
||||||
helperfunc
|
|
||||||
[
|
[
|
||||||
"theme"
|
./spicetify.nix
|
||||||
"spicetify"
|
|
||||||
];
|
];
|
||||||
xsession.numlock.enable = true;
|
xsession.numlock.enable = true;
|
||||||
home = {
|
home = {
|
||||||
|
|
@ -24,18 +20,6 @@ in {
|
||||||
stateVersion = settings.version;
|
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
|
imports = let
|
||||||
modules = [
|
modules = [
|
||||||
"boot"
|
"boot"
|
||||||
|
"dwm"
|
||||||
"fonts"
|
"fonts"
|
||||||
"git"
|
"git"
|
||||||
#"mining"
|
|
||||||
"packages"
|
"packages"
|
||||||
"parrot"
|
"parrot"
|
||||||
"picom"
|
"picom"
|
||||||
"refreshrate"
|
"refreshrate"
|
||||||
"sxhkd"
|
|
||||||
"vfio"
|
|
||||||
"dwm"
|
|
||||||
"shells"
|
"shells"
|
||||||
|
"sxhkd"
|
||||||
|
"theme"
|
||||||
|
"vfio"
|
||||||
|
#"mining"
|
||||||
];
|
];
|
||||||
in
|
in
|
||||||
lib.lists.forEach modules (
|
lib.lists.forEach modules (
|
||||||
|
|
|
||||||
|
|
@ -14,6 +14,7 @@
|
||||||
"gnome"
|
"gnome"
|
||||||
"shells"
|
"shells"
|
||||||
"gaming"
|
"gaming"
|
||||||
|
"theme"
|
||||||
];
|
];
|
||||||
in
|
in
|
||||||
lib.lists.forEach modules (
|
lib.lists.forEach modules (
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue