clean the shit

This commit is contained in:
Zastian Pretorius
2025-09-07 14:47:56 +01:00
parent 59cb67267c
commit 3839a0e292
10 changed files with 874 additions and 907 deletions

View File

@@ -6,259 +6,278 @@
...
}:
let
# hyprlock = pkgs.callPackage ../../universal/personalPKGS/hyprlock.nix {};
# hypridle = pkgs.callPackage ../../universal/personalPKGS/hypridle.nix {};
defaultProfile = {
id = 0;
name = "default";
isDefault = true;
};
anyrunPlugins = with pkgs.anyrun; [
"${pkgs.anyrun}/lib/libapplications.so"
"${pkgs.anyrun}/lib/libdictionary.so"
"${pkgs.anyrun}/lib/libsymbols.so"
"${pkgs.anyrun}/lib/librink.so"
"${pkgs.anyrun}/lib/libtranslate.so"
"${pkgs.anyrun}/lib/libwebsearch.so"
];
in
#hyprlock = pkgs.callPackage ../../universal/personalPKGS/hyprlock.nix {};
#hypridle = pkgs.callPackage ../../universal/personalPKGS/hypridle.nix {};
{
imports = [
inputs.zen-browser.homeModules.beta
];
programs.zen-browser = {
enable = true;
profiles.default = {
id = 0;
name = "default";
isDefault = true;
};
};
programs.firefox = {
enable = true;
profiles.default = {
id = 0;
name = "default";
isDefault = true;
};
};
programs.nix-index.enable = true;
programs.lazygit.enable = true;
programs = {
zen-browser = {
enable = true;
profiles.default = defaultProfile;
};
firefox = {
enable = true;
profiles.default = defaultProfile;
};
nix-index.enable = true;
lazygit.enable = true;
vscode = {
enable = true;
profiles.default.extensions = [
pkgs.vscode-extensions.platformio.platformio-vscode-ide
];
};
anyrun = {
enable = true;
config = {
plugins = anyrunPlugins;
x.fraction = 0.5;
y.fraction = 0.3;
width.fraction = 0.3;
hideIcons = false;
ignoreExclusiveZones = false;
layer = "overlay";
hidePluginInfo = false;
closeOnClick = false;
showResultsImmediately = false;
maxEntries = null;
};
extraCss = ''
.some_class
enable = true;{
background: red;
}
'';
extraConfigFiles."websearch.ron".text = ''
Config(
prefix: "",
engines: [Google]
)
'';
extraConfigFiles."dictionary.ron".text = ''
Config(
prefix: "",
max_entries: 5,
)
'';
extraConfigFiles."rink.ron".text = ''
Config(
prefix: "",
max_entries: 5,
)
'';
extraConfigFiles."translate.ron".text = ''
Config(
prefix: ":",
language_delimiter: ">",
max_entries: 3,
)
'';
extraConfigFiles."symbols.ron".text = ''
Config (
prefix: "",
// Custom user defined symbols to be included along the unicode symbols
symbols: {
// "name": "text to be copied"
"shrug": "¯\\_()_/¯",
},
max_entries: 3,
)
'';
};
};
qt.enable = true;
#qt.style = "gtk2";
#qt.platformTheme = "qt5ct";
#imports = [ inputs.anyrun.homeManagerModules.default ];
# qt.style = "gtk2";
# qt.platformTheme = "qt5ct";
# imports = [ inputs.anyrun.homeManagerModules.default ];
nixpkgs.config.allowUnfree = true;
nixpkgs.config.permittedInsecurePackages = [
"freeimage-unstable-2021-11-01"
"qtwebengine-5.15.19"
];
programs.vscode = {
enable = true;
profiles = {
default = {
extensions = [
pkgs.vscode-extensions.platformio.platformio-vscode-ide
];
};
};
};
programs.anyrun = {
enable = true;
nixpkgs = {
config = {
plugins = [
# An array of all the plugins you want, which either can be paths to the .so files, or their packages
"${pkgs.anyrun}/lib/libapplications.so"
"${pkgs.anyrun}/lib/libdictionary.so"
"${pkgs.anyrun}/lib/libsymbols.so"
"${pkgs.anyrun}/lib/librink.so"
"${pkgs.anyrun}/lib/libtranslate.so"
"${pkgs.anyrun}/lib/libwebsearch.so"
allowUnfree = true;
permittedInsecurePackages = [
"freeimage-unstable-2021-11-01"
"qtwebengine-5.15.19"
];
x = {
fraction = 0.5;
};
y = {
fraction = 0.3;
};
width = {
fraction = 0.3;
};
hideIcons = false;
ignoreExclusiveZones = false;
layer = "overlay";
hidePluginInfo = false;
closeOnClick = false;
showResultsImmediately = false;
maxEntries = null;
};
extraCss = ''
.some_class
enable = true;{
background: red;
}
'';
extraConfigFiles."websearch.ron".text = ''
Config(
prefix: "",
// Options: Google, Ecosia, Bing, DuckDuckGo, Custom
//
// Custom engines can be defined as such:
// Custom(
// name: "Searx",
// url: "searx.be/?q={}",
// )
//
// NOTE: `{}` is replaced by the search query and `https://` is automatically added in front.
engines: [Google]
)
'';
extraConfigFiles."dictionary.ron".text = ''
Config(
prefix: "",
max_entries: 5,
)
'';
extraConfigFiles."rink.ron".text = ''
Config(
prefix: "",
max_entries: 5,
)
'';
extraConfigFiles."translate.ron".text = ''
Config(
prefix: ":",
language_delimiter: ">",
max_entries: 3,
)
'';
extraConfigFiles."symbols.ron".text = ''
Config (
// The prefix that the search needs to begin with to yield symbol results
prefix: "",
// Custom user defined symbols to be included along the unicode symbols
symbols: {
// "name": "text to be copied"
"shrug": "¯\\_()_/¯",
},
max_entries: 3,
)
'';
};
services.kdeconnect.enable = true;
# programs.obs-studio = {
# enable = true;
# plugins = with pkgs.obs-studio-plugins; [
# wlrobs
# obs-backgroundremoval
# obs-pipewire-audio-capture
# ];
# };
#
home.packages = with pkgs; [
# # Adds the 'hello' command to your environment. It prints a friendly
# # "Hello, world!" when run.
# pkgs.hello
# # It is sometimes useful to fine-tune packages, for example, by applying
# # overrides. You can do that directly here, just don't forget the
# # parentheses. Maybe you want to install Nerd Fonts with a limited number of
# # fonts?
# (pkgs.nerdfonts.override { fonts = [ "FantasqueSansMono" ]; })
# # You can also create simple shell scripts directly inside your
# # configuration. For example, this adds a command 'my-hello' to your
# # environment:
# (pkgs.writeShellScriptBin "my-hello" ''
# echo "Hello, ${config.home.username}!"
# '')
############################
# Shells & Terminals
############################
alacritty
zsh
zoom-us
rink
firefox
btop
libreoffice-fresh
rustup
rustc
macchina
hyprpaper
#xwaylandvideobridge
############################
# CLI Shit
############################
atuin
############################
# System Utilities
############################
app2unit
brightnessctl
ddcutil
duf
grim
slurp
swappy
heroic
gamemode
goverlay
libnotify
lm_sensors
macchina
rm-improved
nodejs_20
playerctl
pamixer
openai-whisper
libreoffice
zathura
imv
libsixel
prismlauncher
godot_4
wf-recorder
#jellyfin-media-player
xarchiver
xdg-user-dirs
############################
# Monitoring & TUI Apps
############################
btop
cava
############################
# Wayland / Desktop Tools
############################
grim
hyprpaper
hyprpicker
mangohud
#discord
mpv
rofi
xdg-user-dirs
xarchiver
atuin
blender-hip
wineWowPackages.stable
gdb
slurp
swappy
wf-recorder
############################
# Audio / Media Tools
############################
openai-whisper
pamixer
playerctl
alsa-utils
############################
# Browsers & Web
############################
brave
firefox
zoom-us
############################
# Communication & Sharing
############################
element-desktop
localsend
slack
thunderbird
############################
# Documents & Viewers
############################
libreoffice
libreoffice-fresh
zathura
############################
# Media Players & Imaging
############################
imv
mpv
upscaler
youtube-music
libsixel
############################
# Development Toolchains
############################
gdb
nodejs_20
platformio
rustc
rustup
zed-editor
dualsensectl
mangayomi
scrcpy
# Language tooling from inputs
inputs.qs-qml.packages.${pkgs.system}.qml-ts-mode
inputs.qs-qml.packages.${pkgs.system}.tree-sitter-qmljs
############################
# Game Dev / Engines
############################
blender-hip
godot_4
############################
# Emulation
############################
fuse
fuse-emulator
fuse3
alacritty
#inputs.way-inhibitor.packages.${pkgs.system}.default
#inputs.zen-browser.packages.${pkgs.system}.twilight
#inputs.quickshell.packages.${pkgs.system}.default
inputs.qs-qml.packages.${pkgs.system}.tree-sitter-qmljs
inputs.qs-qml.packages.${pkgs.system}.qml-ts-mode
protonup-qt
ddcutil
brightnessctl
app2unit
cava
lm_sensors
thunderbird
libnotify
localsend
############################
# Android Tools
############################
android-tools
#grayjay
youtube-music
inputs.caelestia.packages.${pkgs.system}.caelestia-shell
inputs.caelestia-cli.packages.${pkgs.system}.caelestia-cli
kdePackages.dolphin
kdePackages.kio
kdePackages.kio-extras
#kdePackages.breeze-icons
#kdePackages.dolphin-plugins
kdePackages.kdesdk-thumbnailers # new
kdePackages.kdegraphics-thumbnailers # new
kdePackages.kdegraphics-mobipocket # new
kdePackages.kimageformats # new
#kdePackages.calligra # new
#kdePackages.qtimageformats # new
kdePackages.ffmpegthumbs # new
#kdePackages.taglib # new
scrcpy
############################
# Gaming & Launchers
############################
dualsensectl
gamemode
goverlay
heroic
prismlauncher
protonup-qt
wineWowPackages.stable
mangayomi
rink
############################
# KDE / File Management
############################
kdePackages.baloo # new
kdePackages.baloo-widgets # new
#kdePackages.kde-cli-tools
#resvg # new
#
#platformio
platformio
element-desktop
kdePackages.dolphin
kdePackages.ffmpegthumbs # new
kdePackages.kdegraphics-mobipocket # new
kdePackages.kdegraphics-thumbnailers # new
kdePackages.kdesdk-thumbnailers # new
kdePackages.kimageformats # new
kdePackages.kio
kdePackages.kio-extras
# kdePackages.breeze-icons
# kdePackages.dolphin-plugins
# kdePackages.kde-cli-tools
# resvg # new
upscaler
############################
# Blockchain (inputs)
############################
inputs.caelestia-cli.packages.${pkgs.system}.caelestia-cli
inputs.caelestia.packages.${pkgs.system}.caelestia-shell
];
}

View File

@@ -10,118 +10,96 @@ let
in
{
imports = [
# Core theming & integrations
inputs.nix-colors.homeManagerModules.default
inputs.stylix.homeModules.stylix
inputs.nixcord.homeModules.nixcord
#inputs.niri.homeModules.niri
# inputs.niri.homeModules.niri
# Local modules
./sessionVars.nix
./stylix.nix
./homePkgs.nix
./services.nix
# Dots
../dots/foot.nix
../dots/waybar.nix
../dots/zsh.nix
../dots/nixcord.nix
../dots/hyprlock.nix
./stylix.nix
./homePkgs.nix
./services.nix
../dots/xdg.nix
../dots/river.nix
../dots/niri.nix
../dots/hyprland.nix
../dots/hyprpaper.nix
];
# you can go look here for a list of color schemes https://github.com/tinted-theming/schemes
# You can find color schemes at: https://github.com/tinted-theming/schemes
colorScheme = inputs.nix-colors.colorSchemes.hardcore;
stylix.base16Scheme.base00 = "141414";
# Home Manager needs a bit of information about you and the paths it should
# manage.
# Home Manager needs a bit of information about you and the paths it should manage.
home.username = "mrfluffy";
home.homeDirectory = "/home/mrfluffy";
# This value determines the Home Manager release that your configuration is
# compatible with. This helps avoid breakage when a new Home Manager release
# introduces backwards incompatible changes.
#
# You should not change this value, even if you update Home Manager. If you do
# want to update the value, then make sure to first check the Home Manager
# release notes.
# This determines compatibility with a specific Home Manager release.
home.stateVersion = "23.11"; # Please read the comment before changing.
# The home.packages option allows you to install Nix packages into your
# environment.
#gtk = {
# enable = true;
# iconTheme = {
# name = "Dracula";
# # package = pkgs.dracula-icon-theme;
# };
#};
# Example GTK block (disabled)
# gtk = {
# enable = true;
# iconTheme = {
# name = "Dracula";
# # package = pkgs.dracula-icon-theme;
# };
# };
home.packages = with pkgs; [
swaybg
############################
# Wayland / Desktop tools
############################
lswt
swaybg
wlr-randr
#inputs.ladybird.packages."${pkgs.system}".ladybird
# # Adds the 'hello' command to your environment. It prints a friendly
# # "Hello, world!" when run.
############################
# Experimental (inputs)
############################
# inputs.ladybird.packages."${pkgs.system}".ladybird
# ##########################
# Examples (disabled)
# ##########################
# pkgs.hello
# # It is sometimes useful to fine-tune packages, for example, by applying
# # overrides. You can do that directly here, just don't forget the
# # parentheses. Maybe you want to install Nerd Fonts with a limited number of
# # fonts?
# (pkgs.nerdfonts.override { fonts = [ "FantasqueSansMono" ]; })
# # You can also create simple shell scripts directly inside your
# # configuration. For example, this adds a command 'my-hello' to your
# # environment:
# (pkgs.writeShellScriptBin "my-hello" ''
# echo "Hello, ${config.home.username}!"
# '')
];
# Home Manager is pretty good at managing dotfiles. The primary way to manage
# plain files is through 'home.file'.
# Dotfiles & static files managed by Home Manager
home.file = {
# # Building this configuration will create a copy of 'dotfiles/screenrc' in
# # the Nix store. Activating the configuration will then make '~/.screenrc' a
# # symlink to the Nix store copy.
# ".screenrc".source = dotfiles/screenrc;
# # You can also set the file content immediately.
# ".gradle/gradle.properties".text = ''
# org.gradle.console=verbose
# org.gradle.daemon.idletimeout=3600000
# '';
#
".config/nixpkgs/config.nix".text = ''
{ allowUnfree = true; }
'';
".config/doom".source = ../dots/doom;
#".config/quickshell".source = ../dots/shell;
#".config/kitty".source = ../../universal/dots/kitty;
#".config/nvim".source = ../../universal/dots/nvim;
# ".config/quickshell".source = ../dots/shell;
# ".config/kitty".source = ../../universal/dots/kitty;
# ".config/nvim".source = ../../universal/dots/nvim;
"Pictures/Wallpapers".source = ../assets/Wallpapers;
# ".screenrc".source = dotfiles/screenrc;
# ".gradle/gradle.properties".text = ''
# org.gradle.console=verbose
# org.gradle.daemon.idletimeout=3600000
# '';
};
# Home Manager can also manage your environment variables through
# 'home.sessionVariables'. If you don't want to manage your shell through Home
# Manager then you have to manually source 'hm-session-vars.sh' located at
# either
#
# ~/.nix-profile/etc/profile.d/hm-session-vars.sh
#
# or
#
# ~/.local/state/nix/profiles/profile/etc/profile.d/hm-session-vars.sh
#
# or
#
# /etc/profiles/per-user/mrfluffy/etc/profile.d/hm-session-vars.sh
#
# If you don't manage your shell with Home Manager, remember to source:
# ~/.nix-profile/etc/profile.d/hm-session-vars.sh
# ~/.local/state/nix/profiles/profile/etc/profile.d/hm-session-vars.sh
# /etc/profiles/per-user/mrfluffy/etc/profile.d/hm-session-vars.sh
# Let Home Manager install and manage itself.
programs.home-manager.enable = true;

View File

@@ -7,74 +7,69 @@
let
inherit (config.colorScheme) palette;
oreo = pkgs.callPackage ../personalPKGS/oreo.nix { };
openSans = {
package = pkgs.open-sans;
name = "Open Sans";
};
in
{
stylix = {
enable = true;
autoEnable = false;
targets.font-packages.enable = true;
#targets.fontconfig.enable = true;
targets.gtk = {
enable = true;
flatpakSupport.enable = true;
};
#targets.kde.enable = true;
targets.qt.enable = true;
targets.vscode.enable = true;
targets.lazygit.enable = true;
targets.foot.enable = true;
targets.river.enable = true;
targets.hyprland.enable = true;
targets.waybar.enable = true;
targets.nixcord.enable = true;
targets.zen-browser = {
enable = true;
profileNames = [ "default" ];
};
targets.firefox = {
enable = true;
profileNames = [ "default" ];
targets = {
font-packages.enable = true;
# fontconfig.enable = true;
gtk = {
enable = true;
flatpakSupport.enable = true;
};
# kde.enable = true;
qt.enable = true;
vscode.enable = true;
lazygit.enable = true;
foot.enable = true;
river.enable = true;
hyprland.enable = true;
waybar.enable = true;
nixcord.enable = true;
zen-browser = {
enable = true;
profileNames = [ "default" ];
};
firefox = {
enable = true;
profileNames = [ "default" ];
};
};
iconTheme = {
enable = true;
package = lib.mkForce (pkgs.reversal-icon-theme.override {allColorVariants = true;});
package = lib.mkForce (pkgs.reversal-icon-theme.override { allColorVariants = true; });
light = "Reversal-black";
dark = "Reversal-black-dark";
dark = "Reversal-black-dark";
};
polarity = "dark";
image = ../assets/Wallpapers/001.jpg;
base16Scheme = {
base00 = "${palette.base00}";
base01 = "${palette.base01}";
base02 = "${palette.base02}";
base03 = "${palette.base03}";
base04 = "${palette.base04}";
base05 = "${palette.base05}";
base06 = "${palette.base06}";
base07 = "${palette.base07}";
base08 = "${palette.base08}";
base09 = "${palette.base09}";
base0A = "${palette.base0A}";
base0B = "${palette.base0B}";
base0C = "${palette.base0C}";
base0D = "${palette.base0D}";
base0E = "${palette.base0E}";
base0F = "${palette.base0F}";
inherit (palette)
base00 base01 base02 base03 base04 base05 base06 base07
base08 base09 base0A base0B base0C base0D base0E base0F;
};
fonts = {
serif = {
package = pkgs.open-sans;
name = "Open Sans";
};
sansSerif = {
package = pkgs.open-sans;
name = "Open Sans";
};
#monospace = {
# package = pkgs.dejavu_fonts;
# name = "DejaVu Sans Mono";
#};
serif = openSans;
sansSerif = openSans;
# monospace = {
# package = pkgs.dejavu_fonts;
# name = "DejaVu Sans Mono";
# };
monospace = {
package = pkgs.iosevka-comfy.comfy;
name = "Iosevka Comfy";
@@ -85,11 +80,12 @@ in
};
sizes = {
applications = 12;
desktop = 12;
popups = 14;
terminal = 16;
desktop = 12;
popups = 14;
terminal = 16;
};
};
cursor = {
package = oreo.override { colors = [ "oreo_spark_pink_cursors" ]; };
name = "oreo_spark_pink_cursors";

View File

@@ -10,19 +10,24 @@ let
in
{
imports = [
# Core theming & apps
inputs.nix-colors.homeManagerModules.default
inputs.stylix.homeModules.stylix
inputs.nixcord.homeModules.nixcord
#inputs.niri.homeModules.niri
# inputs.niri.homeModules.niri
# Local modules
./sessionVars.nix
./stylix.nix
./homePkgs.nix
./services.nix
# Dots
../dots/foot.nix
../dots/waybar.nix
../dots/zsh.nix
../dots/nixcord.nix
../dots/hyprlock.nix
./stylix.nix
./homePkgs.nix
./services.nix
../dots/xdg.nix
../dots/river.nix
../dots/niri.nix
@@ -30,99 +35,71 @@ in
../dots/hyprpaper.nix
];
# you can go look here for a list of color schemes https://github.com/tinted-theming/schemes
# You can find color schemes at: https://github.com/tinted-theming/schemes
colorScheme = inputs.nix-colors.colorSchemes.hardcore;
stylix.base16Scheme.base00 = "141414";
# Home Manager needs a bit of information about you and the paths it should
# manage.
# Home Manager user information
home.username = "work";
home.homeDirectory = "/home/work";
# This value determines the Home Manager release that your configuration is
# compatible with. This helps avoid breakage when a new Home Manager release
# introduces backwards incompatible changes.
#
# You should not change this value, even if you update Home Manager. If you do
# want to update the value, then make sure to first check the Home Manager
# release notes.
# This determines compatibility with a specific Home Manager release.
home.stateVersion = "23.11"; # Please read the comment before changing.
# The home.packages option allows you to install Nix packages into your
# environment.
#gtk = {
# enable = true;
# iconTheme = {
# name = "Dracula";
# # package = pkgs.dracula-icon-theme;
# };
#};
# Example GTK block (disabled)
# gtk = {
# enable = true;
# iconTheme = {
# name = "Dracula";
# # package = pkgs.dracula-icon-theme;
# };
# };
home.packages = with pkgs; [
swaybg
############################
# Wayland / Desktop tools
############################
lswt
swaybg
wlr-randr
############################
# Browsers
############################
brave
#swaynotificationcenter
#inputs.ladybird.packages."${pkgs.system}".ladybird
# # Adds the 'hello' command to your environment. It prints a friendly
# # "Hello, world!" when run.
# swaynotificationcenter
# inputs.ladybird.packages."${pkgs.system}".ladybird
# pkgs.hello
# # It is sometimes useful to fine-tune packages, for example, by applying
# # overrides. You can do that directly here, just don't forget the
# # parentheses. Maybe you want to install Nerd Fonts with a limited number of
# # fonts?
# (pkgs.nerdfonts.override { fonts = [ "FantasqueSansMono" ]; })
# # You can also create simple shell scripts directly inside your
# # configuration. For example, this adds a command 'my-hello' to your
# # environment:
# (pkgs.writeShellScriptBin "my-hello" ''
# echo "Hello, ${config.home.username}!"
# '')
];
# Home Manager is pretty good at managing dotfiles. The primary way to manage
# plain files is through 'home.file'.
# Dotfiles & static files managed by Home Manager
home.file = {
# # Building this configuration will create a copy of 'dotfiles/screenrc' in
# # the Nix store. Activating the configuration will then make '~/.screenrc' a
# # symlink to the Nix store copy.
# ".screenrc".source = dotfiles/screenrc;
# # You can also set the file content immediately.
# ".gradle/gradle.properties".text = ''
# org.gradle.console=verbose
# org.gradle.daemon.idletimeout=3600000
# '';
#
".config/nixpkgs/config.nix".text = ''
{ allowUnfree = true; }
'';
".config/doom".source = ../dots/doom;
#".config/quickshell".source = ../dots/shell;
#".config/kitty".source = ../../universal/dots/kitty;
#".config/nvim".source = ../../universal/dots/nvim;
# ".config/quickshell".source = ../dots/shell;
# ".config/kitty".source = ../../universal/dots/kitty;
# ".config/nvim".source = ../../universal/dots/nvim;
"Pictures/Wallpapers".source = ../assets/Wallpapers;
# ".screenrc".source = dotfiles/screenrc;
# ".gradle/gradle.properties".text = ''
# org.gradle.console=verbose
# org.gradle.daemon.idletimeout=3600000
# '';
};
# Home Manager can also manage your environment variables through
# 'home.sessionVariables'. If you don't want to manage your shell through Home
# Manager then you have to manually source 'hm-session-vars.sh' located at
# either
#
# ~/.nix-profile/etc/profile.d/hm-session-vars.sh
#
# or
#
# ~/.local/state/nix/profiles/profile/etc/profile.d/hm-session-vars.sh
#
# or
#
# /etc/profiles/per-user/mrfluffy/etc/profile.d/hm-session-vars.sh
#
# If you don't manage your shell with Home Manager, remember to source:
# ~/.nix-profile/etc/profile.d/hm-session-vars.sh
# ~/.local/state/nix/profiles/profile/etc/profile.d/hm-session-vars.sh
# /etc/profiles/per-user/mrfluffy/etc/profile.d/hm-session-vars.sh
# Let Home Manager install and manage itself.
programs.home-manager.enable = true;