Fix stylix

This commit is contained in:
Isshi0417 2024-07-12 12:23:21 +09:00
parent b024b5dcb6
commit ada9f02d0e
12 changed files with 46 additions and 92 deletions

View File

@ -94,7 +94,7 @@
};
};
home-manager.backupFileExtension = "backup";
home-manager.backupFileExtension = "hm-backup-1";
environment.sessionVariables = {
FLAKE = "/home/shoi/etc/nixos";

View File

@ -2,7 +2,7 @@
{
imports = [
./hyprland
./stylix
];
# GTK theming

View File

@ -3,15 +3,11 @@
{
stylix = {
enable = true;
autoEnable = true;
autoEnable = false;
image = ../../../wallpapers/maze.png;
opacity = {
applications = 0.9;
desktop = 0.5;
popups = 0.9;
terminal = 0.9;
targets = {
gnome.enable = true;
gtk.enable = true;
};
};
}

View File

@ -2,7 +2,7 @@
{
imports = [
./stylix
];
environment.systemPackages = with pkgs; [

View File

@ -1,14 +1,33 @@
{ pkgs, ... }:
{ ... }:
{
imports = [
./themes
];
stylix = {
enable = true;
autoEnable = true;
stylix.homeManagerIntegration.followSystem = true;
base16Scheme = {
base00 = "343232";
base01 = "413e3e";
base02 = "4f4a4a";
base03 = "5c5656";
base04 = "6a6262";
base05 = "f6f6ee";
base06 = "eeeedd";
base07 = "e5e5cd";
base08 = "fb5c82";
base09 = "c2c561";
base0A = "fbd444";
base0B = "6075e6";
base0C = "f273d4";
base0D = "85c5a8";
base0E = "caca9b";
base0F = "953f48";
};
stylix.cursor.package = pkgs.bibata-cursors;
stylix.cursor.name = "Bibata-Modern-Ice";
image = ../../wallpapers/maze.png;
stylix.polarity = "dark";
polarity = "dark";
targets.grub.useImage = true;
};
}

View File

@ -1,7 +0,0 @@
{ ... }:
{
imports = [
./nostalgia.nix
];
}

View File

@ -1,5 +0,0 @@
{ lib, pkgs, ... }:
{
stylix.image = ./wallpapers/dracula-pro.png;
}

View File

@ -1,5 +0,0 @@
{ pkgs, ... }:
{
stylix.image = ./wallpapers/ghibli-3.png;
}

View File

@ -1,14 +0,0 @@
{ lib, config, ... }:
let
cfg = config.kuromi;
in {
options = {
kuromi.enable = lib.mkEnableOption "Enable Module";
};
config = lib.mkIf cfg.enable {
stylix.enable = true;
stylix.image = ../../wallpapers/kuromi.jpg;
};
}

View File

@ -1,42 +0,0 @@
{ pkgs, ... }:
{
stylix.enable = true;
stylix.autoEnable = true;
stylix.image = ../../../wallpapers/maze.png;
stylix.base16Scheme = {
base00 = "2b3339"; # Default Background
base01 = "323c41";# Lighter Background (Used for status bars, line number and folding marks)
base02 = "503946";# Selection Background
base03 = "868d80";# Comments, Invisibles, Line Highlighting
base04 = "d3c6aa";# Dark Foreground (Used for status bars)
base05 = "d3c6aa";# Default Foreground, Caret, Delimiters, Operators
base06 = "e9e8d2";# Light Foreground (Not often used)
base07 = "fff9e8";# Light Background (Not often used)
base08 = "7fbbb3";# Variables, XML Tags, Markup Link Text, Markup Lists, Diff Deleted
base09 = "d699b6";# Integers, Boolean, Constants, XML Attributes, Markup Link Url
base0A = "83c092";# Classes, Markup Bold, Search Text Background
base0B = "dbbc7f";# Strings, Inherited Class, Markup Code, Diff Inserted
base0C = "e69875";# Support, Regular Expressions, Escape Characters, Markup Quotes
base0D = "a7c080";# Functions, Methods, Attribute IDs, Headings
base0E = "e67e80";# Keywords, Storage, Selector, Markup Italic, Diff Changed
base0F = "d699b6";# Deprecated, Opening/Closing Embedded Language Tags, e.g. <?php ?>
};
# GRUB
stylix.targets.grub = {
enable = true;
useImage = true;
};
# Console
stylix.targets.console.enable = true;
# GNOME
stylix.targets.gnome.enable = true;
# GTK
stylix.targets.gtk.enable = true;
}

View File

@ -0,0 +1,11 @@
{ config, pkgs, ... }:
{
services.xserver.windowManager.awesome = {
enable = true;
luaModules = with pkgs.luaPackages; [
luarocks
luadbi-mysql
];
};
}

View File

@ -4,5 +4,6 @@
imports = [
./gnome-de.nix
./hyprland.nix
./awesome.nix
];
}