This commit is contained in:
tulg 2025-10-23 19:54:58 +03:00
parent 6531e8ef79
commit 542227d7a8
5 changed files with 40 additions and 41 deletions

View file

@ -50,6 +50,7 @@
home-manager.nixosModules.home-manager home-manager.nixosModules.home-manager
inputs.disko.nixosModules.disko inputs.disko.nixosModules.disko
stylix.nixosModules.stylix stylix.nixosModules.stylix
./modules/home-manager/stylix.nix
{ {
home-manager = { home-manager = {
useGlobalPkgs = true; useGlobalPkgs = true;
@ -58,7 +59,7 @@
backupFileExtension = "backup"; backupFileExtension = "backup";
users.tulg = { users.tulg = {
imports = [./modules/home.nix]; imports = [./modules/home-manager/home.nix];
}; };
}; };
} }

View file

@ -12,7 +12,6 @@
# ./disko.nix # ./disko.nix
./hardware-configuration.nix ./hardware-configuration.nix
./vfio.nix ./vfio.nix
../modules/stylix.nix
]; ];
# Bootloader. # Bootloader.

View file

@ -28,7 +28,7 @@ in {
tmux tmux
fastfetch fastfetch
btop btop
# spotify spotify
pavucontrol pavucontrol
wl-clipboard wl-clipboard
hyprcursor hyprcursor
@ -58,11 +58,11 @@ in {
DisableTelemetry = true; DisableTelemetry = true;
}; };
programs.spicetify = { #programs.spicetify = {
enable = true; # enable = true;
theme = spicePkgs.themes.ziro; # theme = spicePkgs.themes.ziro;
colorScheme = "rose-pine-moon"; # colorScheme = "rose-pine-moon";
}; #};
xdg.configFile."hypr" = { xdg.configFile."hypr" = {
source = symlink "${dots}/hypr"; source = symlink "${dots}/hypr";
@ -113,41 +113,41 @@ in {
userEmail = "tulg@protonmail.ch"; userEmail = "tulg@protonmail.ch";
}; };
gtk = { # gtk = {
enable = true; # enable = true;
theme = { # theme = {
name = "Nordic-darker"; # name = "Nordic-darker";
package = pkgs.nordic; # package = pkgs.nordic;
}; # };
iconTheme = { # iconTheme = {
name = "Papirus-Dark"; # name = "Papirus-Dark";
package = pkgs.papirus-icon-theme; # package = pkgs.papirus-icon-theme;
}; # };
}; #};
home.pointerCursor = { #home.pointerCursor = {
gtk.enable = true; # gtk.enable = true;
x11.enable = true; # x11.enable = true;
package = pkgs.bibata-cursors; # package = pkgs.bibata-cursors;
name = "Bibata-Modern-Classic"; # name = "Bibata-Modern-Classic";
size = 16; # size = 16;
}; #};
nixpkgs.config.qt5 = { #nixpkgs.config.qt5 = {
enable = true; # enable = true;
platformTheme = "qt5ct"; # platformTheme = "qt5ct";
style = { # style = {
package = pkgs.rose-pine-kvantum; # package = pkgs.rose-pine-kvantum;
name = "Rose-pine"; # name = "Rose-pine";
}; # };
}; #};
# #
# #
home.sessionVariables = { home.sessionVariables = {
NIXOS_OZONE_WL = "1"; # hint Electron apps to use Wayland NIXOS_OZONE_WL = "1"; # hint Electron apps to use Wayland
GTK_THEME = "rose-pine"; # GTK_THEME = "rose-pine";
QT_QPA_PLATFORMTHEME = "qt5ct"; # QT_QPA_PLATFORMTHEME = "qt5ct";
QT_QPA_PLATFORM = "wayland"; QT_QPA_PLATFORM = "wayland";
# PS1="\[\e[38;5;177m\]\u\[\e[38;5;220m\]@\[\e[38;5;1m\]\h \[\e[38;5;33m\]\w \[\033[0m\]$ "; # PS1="\[\e[38;5;177m\]\u\[\e[38;5;220m\]@\[\e[38;5;1m\]\h \[\e[38;5;33m\]\w \[\033[0m\]$ ";
}; };

View file

@ -0,0 +1,4 @@
{pkgs, ...}: {
stylix.enable = true;
stylix.base16Scheme = "${pkgs.base16-schemes}/share/themes/rose-pine.yaml";
}

View file

@ -1,5 +0,0 @@
{pkgs, ...}: {
stylix.enable = true;
stylix.base16Scheme = "${pkgs.base16-schemes}/share/themes/rise-pine.yaml";
targets.qt.enable = true;
}