Add comments to explain each file

This commit is contained in:
Hadi
2024-10-15 15:02:07 +02:00
parent 4733414bb3
commit 915a767283
32 changed files with 48 additions and 26 deletions

View File

@@ -1,7 +1,5 @@
{ config, lib, ... }:
let
transparentButtons = config.var.theme.bar.transparentButtons;
accent = "#${config.lib.stylix.colors.base0D}";
muted = "#${config.lib.stylix.colors.base03}";
in {

View File

@@ -1 +1,4 @@
{ pkgs, ... }: { home.packages = with pkgs; [ wkhtmltopdf ]; }
# Work in progress on another repo
{ pkgs, ... }: {
home.packages = with pkgs; [ wkhtmltopdf ];
}

View File

@@ -1,6 +1,7 @@
# Nextcloud is a suite of client-server software for creating file hosting services and using them. It is functionally similar to Dropbox, although Nextcloud is free and open-source, allowing anyone to install and operate it on a private server. In contrast to proprietary services, Nextcloud can be hosted on a private server, without additional cost.
{
services.nextcloud-client = {
enable = true;
startInBackground = true;
};
}
services.nextcloud-client = {
enable = true;
startInBackground = true;
};
}

View File

@@ -1,3 +1,4 @@
# Nixvim is a NixOS module that installs and configures Neovim
{ inputs, ... }: {
imports = [
inputs.nixvim.homeManagerModules.nixvim

View File

@@ -1,5 +1,4 @@
{
programs.nixvim.globals.mapleader = " ";
programs.nixvim.opts = {
updatetime = 50; # Faster completion

View File

@@ -1,3 +1,5 @@
# Qutebrowser is a keyboard-focused browser with a minimal GUI.
# My homepage is generated using https://github.com/anotherhadi/homepage
{ pkgs, config, ... }:
let

View File

@@ -1,3 +1,4 @@
# A duckduckgo colorscheme generated for the Stylix theme used.
{ config, ... }:
let
accent = config.lib.stylix.colors.base0D;

View File

@@ -1,3 +1,4 @@
# Eza is a ls replacement
{
programs.eza = {
enable = true;

View File

@@ -1,3 +1,4 @@
# Fzf is a general-purpose command-line fuzzy finder.
{ config, lib, ... }:
let
accent = "#" + config.lib.stylix.colors.base0D;

View File

@@ -1,3 +1,4 @@
# starship is a minimal, fast, and extremely customizable prompt for any shell!
{ config, lib, ... }:
let
accent = "#${config.lib.stylix.colors.base0D}";

View File

@@ -1,3 +1,4 @@
# Tmux is a terminal multiplexer that allows you to run multiple terminal sessions in a single window.
{ pkgs, ... }: {
programs.tmux = {
enable = true;

View File

@@ -1,6 +1,7 @@
# Zoxide is a cd replacement
{
programs.zoxide = {
enable= true;
enableZshIntegration = true;
enable = true;
enableZshIntegration = true;
};
}

View File

@@ -1,3 +1,4 @@
# My shell configuration
{ pkgs, lib, config, ... }:
let fetch = config.var.theme.fetch; # neofetch, nerdfetch, pfetch
in {

View File

@@ -1,18 +1,23 @@
# Spicetify is a spotify client customizer
{ pkgs, config, lib, inputs, ... }:
let
spicePkgs = inputs.spicetify-nix.legacyPackages.${pkgs.system};
accent = "#${config.lib.stylix.colors.base0D}";
accent = "${config.lib.stylix.colors.base0D}";
in {
imports = [ inputs.spicetify-nix.homeManagerModules.default ];
nixpkgs.config.allowUnfreePredicate = pkg:
builtins.elem (lib.getName pkg) [ "spotify" ];
stylix.targets.spicetify.enable = false;
programs.spicetify = {
enable = true;
theme = lib.mkForce spicePkgs.themes.text;
# TODO: Colors not working
customColorScheme = lib.mkForce {
colorScheme = "custom";
customColorScheme = {
button = accent;
button-active = accent;
tab-active = accent;

View File

@@ -1,3 +1,4 @@
# Thunar is a file explorer
{ pkgs, ... }: {
# ctrl + m to toggle the menubar
home.packages = with pkgs.xfce; [

View File

@@ -1,3 +1,4 @@
# Yazi is a TUI file explorer
{
programs.yazi = {
enable = true;