Make small changes

This commit is contained in:
Isshi0417 2024-07-15 12:09:17 +09:00
parent bf0ab76632
commit be3b3a88e9
23 changed files with 112 additions and 68 deletions

View File

@ -60,6 +60,9 @@
# Home-manager # Home-manager
inputs.home-manager.nixosModules.default inputs.home-manager.nixosModules.default
# Stylix
inputs.stylix.nixosModules.stylix
#Aagl #Aagl
inputs.aagl.nixosModules.default inputs.aagl.nixosModules.default
]; ];

View File

@ -19,6 +19,9 @@
# Gaming # Gaming
../../modules/gaming ../../modules/gaming
# Theming
../../modules/stylix/gruvbox
# Home-manager # Home-manager
inputs.home-manager.nixosModules.default inputs.home-manager.nixosModules.default
]; ];
@ -86,7 +89,7 @@
}; };
}; };
home-manager.backupFileExtension = "backup-1"; home-manager.backupFileExtension = "backup-9";
environment.sessionVariables = { environment.sessionVariables = {
FLAKE = "/home/shoi/etc/nixos"; FLAKE = "/home/shoi/etc/nixos";
@ -98,6 +101,8 @@
# vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default. # vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
lm_sensors lm_sensors
brightnessctl brightnessctl
python312
python312Packages.pip
]; ];
programs.light.enable = true; programs.light.enable = true;

View File

@ -4,6 +4,9 @@
imports = imports =
[ [
../../modules/home-manager ../../modules/home-manager
# Styling
../../modules/home-manager/stylix/gruvbox
]; ];
home.username = "shoi"; home.username = "shoi";

View File

@ -5,6 +5,7 @@
./git ./git
./qt/retro ./qt/retro
./shell ./shell
./terminal
]; ];
# Allow Unfree # Allow Unfree
@ -13,8 +14,6 @@
home.packages = with pkgs; [ home.packages = with pkgs; [
# Essentials # Essentials
ferdium ferdium
git
gh
vscode-fhs vscode-fhs
# School # School
@ -22,13 +21,25 @@
onedrive onedrive
typora typora
logisim logisim
pandoc
# Utils # Utils
corefonts corefonts
noto-fonts noto-fonts
maim
]; ];
programs.firefox.enable = true; programs = {
# Essentials
firefox.enable = true;
git.enable = true;
gh.enable = true;
# School
pandoc.enable = true;
# Utils
bat.enable = true;
lazygit.enable = true;
mangohud.enable = true;
zathura.enable = true;
};
} }

View File

@ -4,6 +4,10 @@
home.packages = with pkgs; [ home.packages = with pkgs; [
gruvbox-plus-icons gruvbox-plus-icons
afterglow-cursors-recolored afterglow-cursors-recolored
kde-gruvbox
]; ];
programs.rofi = {
enable = true;
theme = "gruvbox-dark";
};
} }

View File

@ -1,6 +1,10 @@
{ pkgs, ... }: { pkgs, ... }:
{ {
imports = [
./starship
];
# Download zsh packages # Download zsh packages
home.packages = with pkgs; [ home.packages = with pkgs; [
zsh zsh
@ -25,7 +29,4 @@
}; };
programs.starship.enable = true;
programs.starship.enableZshIntegration = true;
} }

View File

@ -0,0 +1,8 @@
{ lib, ... }:
{
programs.starship = {
enable = true;
enableZshIntegration = true;
};
}

View File

@ -0,0 +1,31 @@
{ pkgs, ... }:
{
stylix = {
enable = true;
autoEnable = false;
base16Scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-dark-medium.yaml";
cursor = {
package = pkgs.afterglow-cursors-recolored;
name = "Afterglow-Recolored-Gruvbox-White";
size = 24;
};
image = ../../../wallpapers/gruvbox_ghibli-6.png;
polarity = "dark";
targets = {
bat.enable = true;
firefox.enable = true;
lazygit.enable = true;
mangohud.enable = true;
vesktop.enable = true;
wezterm.enable = true;
xresources.enable = true;
zathura.enable = true;
};
};
}

View File

@ -2,6 +2,6 @@
{ {
imports = [ imports = [
./kitty ./wezterm
]; ];
} }

View File

@ -1,8 +0,0 @@
{ ... }:
{
programs.kitty = {
enable = true;
shellIntegration.enableZshIntegration = true;
};
}

View File

@ -0,0 +1,8 @@
{ pkgs, ... }:
{
programs.wezterm = {
enable = true;
enableZshIntegration = true;
};
}

View File

@ -0,0 +1,27 @@
{ pkgs, ... }:
{
stylix = {
enable = true;
autoEnable = false;
base16Scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-dark-medium.yaml";
cursor = {
package = pkgs.afterglow-cursors-recolored;
name = "Afterglow-Recolored-Gruvbox-White";
size = 24;
};
image = ../wallpapers/gruvbox_ghibli-6.png;
polarity = "dark";
targets = {
chromium.enable = true;
console.enable = true;
gnome.enable = true;
gtk.enable = true;
};
};
}

View File

@ -41,13 +41,5 @@
nerdfonts nerdfonts
font-awesome font-awesome
]; ];
fontconfig = {
defaultFonts = {
serif = [ "Hack Nerd Font" ];
sansSerif = [ "DejaVuSansM Nerd Font" ];
monospace = [ "JetBrainsMono Nerd Font" ];
};
};
}; };
} }

View File

@ -1,26 +0,0 @@
{ config, pkgs, ... }:
let
awesome = pkgs.awesome.overrideAttrs (oa: {
version = "ad0290bc1aac3ec2391aa14784146a53ebf9d1f0";
src = pkgs.fetchFromGitHub {
owner = "awesomeWM";
repo = "awesome";
rev = "ad0290bc1aac3ec2391aa14784146a53ebf9d1f0";
hash = "sha256-uaskBbnX8NgxrprI4UbPfb5cRqdRsJZv0YXXshfsxFU=";
};
patches = [ ];
postPatch = ''
patchShebangs tests/examples/_postprocess.lua
'';
});
in {
services.xserver.windowManager.awesome = {
enable = true;
package = awesome.override {
lua = pkgs.luajit;
};
};
}

View File

@ -2,8 +2,6 @@
{ {
imports = [ imports = [
./hyprland.nix
./awesome.nix
./plasma.nix ./plasma.nix
]; ];
} }

View File

@ -1,13 +0,0 @@
{ inputs, pkgs, ... }:
{
nix.settings = {
substituters = ["https://hyprland.cachix.org"];
trusted-public-keys = ["hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="];
};
programs.hyprland = {
enable = true;
package = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland;
};
}

View File

Before

Width:  |  Height:  |  Size: 9.8 MiB

After

Width:  |  Height:  |  Size: 9.8 MiB

View File

Before

Width:  |  Height:  |  Size: 12 MiB

After

Width:  |  Height:  |  Size: 12 MiB

View File

Before

Width:  |  Height:  |  Size: 13 MiB

After

Width:  |  Height:  |  Size: 13 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 990 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 MiB