Experiment with stuff

This commit is contained in:
Isshi0417 2024-07-15 16:59:59 +09:00
parent 3fdd024186
commit 3e68b6a7fb
10 changed files with 42 additions and 56 deletions

View File

@ -13,6 +13,9 @@
# System # System
../../modules/system ../../modules/system
# Shell
../../modules/shell
# NH # NH
../../modules/nh ../../modules/nh

View File

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

View File

@ -4,8 +4,8 @@
imports = [ imports = [
./git ./git
./qt/retro ./qt/retro
./shell
./terminal ./terminal
./oh-my-posh
]; ];
# Allow Unfree # Allow Unfree
@ -38,8 +38,17 @@
# Utils # Utils
bat.enable = true; bat.enable = true;
eza.enable = true;
lazygit.enable = true; lazygit.enable = true;
mangohud.enable = true; mangohud.enable = true;
zathura.enable = true; zathura.enable = true;
zoxide.enable = true;
zsh = {
enable = true;
enableCompletion = true;
syntaxHighlighting.enable = true;
autosuggestion.enable = true;
};
}; };
} }

View File

@ -1,31 +0,0 @@
{ 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;
kde.enable = true;
lazygit.enable = true;
mangohud.enable = true;
vesktop.enable = true;
xresources.enable = true;
zathura.enable = true;
};
};
}

View File

@ -1,32 +1,29 @@
{ pkgs, ... }: { pkgs, ... }:
{ {
imports = [
./oh-my-posh
];
# Download zsh packages # Download zsh packages
home.packages = with pkgs; [ environment.systemPackages = with pkgs; [
zsh zsh
oh-my-zsh oh-my-zsh
starship
]; ];
# Enable zsh # Enable zsh
programs.zsh = { programs.zsh = {
enable = true; enable = true;
enableCompletion = true;
autosuggestion.enable = true;
syntaxHighlighting.enable = true;
# oh-my-zsh # oh-my-zsh
oh-my-zsh = { oh-my-zsh = {
enable = true; enable = true;
plugins = [ plugins = [
"git" "git"
"thefuck"
"zoxide"
]; ];
}; };
};
programs.thefuck = {
enable = true;
alias = "fuck";
}; };
} }

View File

@ -5,6 +5,8 @@
enable = true; enable = true;
autoEnable = false; autoEnable = false;
homeManagerIntegration.autoImport = false;
base16Scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-dark-medium.yaml"; base16Scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-dark-medium.yaml";
cursor = { cursor = {
@ -13,8 +15,6 @@
size = 24; size = 24;
}; };
image = ../wallpapers/gruvbox_ghibli-6.png;
polarity = "dark"; polarity = "dark";
targets = { targets = {

View File

@ -9,21 +9,13 @@
./printing ./printing
./bluetooth ./bluetooth
./audio ./audio
./window-manager
]; ];
services.xserver = { services.xserver = {
enable = true; enable = true;
}; };
services.displayManager.sddm = {
enable = true;
wayland = {
enable = true;
compositor = "kwin";
};
};
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
@ -41,5 +33,13 @@
nerdfonts nerdfonts
font-awesome font-awesome
]; ];
fontconfig = {
defaultFonts = {
serif = [ "Hack Nerd Font" ];
sansSerif = [ "DejaVuSansM Nerd Font" ];
monospace = [ "JetBrainsMono Nerd Font" ];
};
};
}; };
} }

View File

@ -2,4 +2,8 @@
{ {
services.xserver.desktopManager.plasma6.enable = true; services.xserver.desktopManager.plasma6.enable = true;
environment.systemPackages = with pkgs.kdePackages; [
sddm-kcm
];
} }

View File

@ -0,0 +1,7 @@
{ pkgs, ... }:
{
services.displayManager.sddm = {
enable = true;
};
}