chore: refine git workflow, prune system configuration, and lint formatting

This commit is contained in:
kiskaadee committed 2026-06-18 17:01:28 -05:00
1 parent 924f603cd6
commit eef77f85e1
8 files changed
+30 -59

No files matched your search

-2
View File
@@ -5,6 +5,4 @@ result-*
# Direnv environments # Direnv environments
.direnv/ .direnv/
# Local debugging/diff logs
diff.txt
+2 -2
View File
@@ -3,7 +3,7 @@
inputs = { inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
home-manager = { home-manager = {
url = "github:nix-community/home-manager"; url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
@@ -33,7 +33,7 @@
modules = [ modules = [
./hosts/desktop/hardware-configuration.nix ./hosts/desktop/hardware-configuration.nix
./hosts/desktop/configuration.nix ./hosts/desktop/configuration.nix
home-manager.nixosModules.home-manager home-manager.nixosModules.home-manager
{ {
home-manager.useGlobalPkgs = true; home-manager.useGlobalPkgs = true;
+6 -41
View File
@@ -1,10 +1,10 @@
{ config, lib, pkgs, ... }: { config, lib, pkgs, ... }:
{ {
imports = imports = [
[ # Include the results of the hardware scan.
./hardware-configuration.nix ./hardware-configuration.nix
../../modules/system/graphical.nix ## Inject native DMS configuration ../../modules/system/graphical.nix
../../modules/system/base.nix # Injected Base OS Settings
]; ];
nix.settings.experimental-features = ["nix-command" "flakes" ]; nix.settings.experimental-features = ["nix-command" "flakes" ];
@@ -13,56 +13,21 @@
nerd-fonts.fira-code nerd-fonts.fira-code
nerd-fonts.jetbrains-mono nerd-fonts.jetbrains-mono
nerd-fonts.roboto-mono nerd-fonts.roboto-mono
]; ];
boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;
networking.networkmanager.enable = true;
networking.hostName = "desktop"; networking.hostName = "desktop";
virtualisation.docker.enable = true;
time.timeZone = "America/Bogota";
i18n.defaultLocale = "en_US.UTF-8";
services.pipewire = {
enable = true;
pulse.enable = true;
};
users.users.kiskaadee = { users.users.kiskaadee = {
isNormalUser = true; isNormalUser = true;
extraGroups = [ "wheel" "docker" "networkmanager" ]; extraGroups = [ "wheel" "docker" "networkmanager" ];
}; };
# programs.firefox.enable = true;
programs = { programs = {
firefox.enable = true;
hyprland.enable = true; hyprland.enable = true;
}; };
environment.sessionVariables.NIXOS_OZONE_WL = "1"; system.stateVersion = "26.05";
environment.systemPackages = with pkgs; [
git
gh
vim
docker
uv
neovim
kitty
];
services.openssh = {
enable = true;
ports = [ 22 ];
settings = {
PermitRootLogin = "no";
};
};
system.stateVersion = "26.05"; # Did you read the comment?
} }
+1 -1
View File
@@ -19,7 +19,7 @@
ports = [ 22 ]; ports = [ 22 ];
settings.PermitRootLogin = "no"; settings.PermitRootLogin = "no";
}; };
# Ensure Wayland variables are globally set # Ensure Wayland variables are globally set
environment.sessionVariables.NIXOS_OZONE_WL = "1"; environment.sessionVariables.NIXOS_OZONE_WL = "1";
} }
+2 -2
View File
@@ -12,11 +12,11 @@
systemd.enable = true; systemd.enable = true;
systemd.restartIfChanged = true; systemd.restartIfChanged = true;
## see: https://danklinux.com/docs/dgop/ ## see: https://danklinux.com/docs/dgop/
# dgop.package = inputs.dgop.packages.${pkgs.stdenv.hostPlatform.system}.default; # dgop.package = inputs.dgop.packages.${pkgs.stdenv.hostPlatform.system}.default;
enableSystemMonitoring = true; enableSystemMonitoring = true;
enableDynamicTheming = true; enableDynamicTheming = true;
enableClipboardPaste = true; enableClipboardPaste = true;
}; };
} }
-1
View File
@@ -12,4 +12,3 @@
rbw rbw
]; ];
} }
+16 -6
View File
@@ -4,7 +4,7 @@
programs = { programs = {
# Version Control # Version Control
git = { git = {
enable = true; enable = true;
settings = { settings = {
user = { user = {
name = "kiskaadee"; name = "kiskaadee";
@@ -14,6 +14,17 @@
st = "status"; st = "status";
co = "checkout"; co = "checkout";
br = "branch"; br = "branch";
# Undo/Modify
unstage = "reset HEAD --";
amend = "commit --amend --no-edit";
undo = "reset --soft HEAD~1";
# Workflow
sync = "!git fetch -p && git pull";
main = "checkout main";
last = "log -1 HEAD~1";
}; };
core.editor = "nvim"; core.editor = "nvim";
init.defaultBranch = "main"; init.defaultBranch = "main";
@@ -53,9 +64,9 @@
vw = "repo view --web"; vw = "repo view --web";
}; };
}; };
}; };
### Navigation ### Navigation
zoxide = { zoxide = {
enable = true; enable = true;
enableBashIntegration = true; enableBashIntegration = true;
@@ -67,13 +78,13 @@
}; };
eza = { eza = {
enable = true; enable = true;
enableBashIntegration = true; enableBashIntegration = true;
extraOptions = ["--group-directories-first" "--header" "--icons"]; extraOptions = ["--group-directories-first" "--header" "--icons"];
}; };
tealdeer = { tealdeer = {
enable = true; enable = true;
settings.updates.auto_update = true; settings.updates.auto_update = true;
}; };
}; };
@@ -84,4 +95,3 @@
bc qpdf tty-clock grim slurp swappy libnotify fastfetch bc qpdf tty-clock grim slurp swappy libnotify fastfetch
]; ];
} }
+3 -4
View File
@@ -8,7 +8,7 @@
programs.neovim = { programs.neovim = {
enable = true; enable = true;
defaultEditor = true; defaultEditor = true;
viAlias = true; viAlias = true;
vimAlias = true; vimAlias = true;
## Core settings ## Core settings
@@ -21,7 +21,7 @@
vim.opt.smartindent = true vim.opt.smartindent = true
vim.opt.wrap = false vim.opt.wrap = false
vim.opt.termguicolors = true vim.opt.termguicolors = true
-- Apply colorscheme after plugins load -- Apply colorscheme after plugins load
vim.cmd("colorscheme catppuccin-mocha") vim.cmd("colorscheme catppuccin-mocha")
''; '';
@@ -29,7 +29,7 @@
## Declarative Plugin Management ## Declarative Plugin Management
plugins = with pkgs.vimPlugins; [ plugins = with pkgs.vimPlugins; [
# Color scheme # Color scheme
catppuccin-nvim catppuccin-nvim
# Advanced Syntax Highlighting for Python, Rust and Nix # Advanced Syntax Highlighting for Python, Rust and Nix
{ {
@@ -52,4 +52,3 @@
]; ];
}; };
} }