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/
# Local debugging/diff logs
diff.txt
+2 -2
View File
@@ -3,7 +3,7 @@
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
@@ -33,7 +33,7 @@
modules = [
./hosts/desktop/hardware-configuration.nix
./hosts/desktop/configuration.nix
home-manager.nixosModules.home-manager
{
home-manager.useGlobalPkgs = true;
+6 -41
View File
@@ -1,10 +1,10 @@
{ config, lib, pkgs, ... }:
{
imports =
[ # Include the results of the hardware scan.
imports = [
./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" ];
@@ -13,56 +13,21 @@
nerd-fonts.fira-code
nerd-fonts.jetbrains-mono
nerd-fonts.roboto-mono
];
];
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
networking.networkmanager.enable = true;
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 = {
isNormalUser = true;
extraGroups = [ "wheel" "docker" "networkmanager" ];
};
};
# programs.firefox.enable = true;
programs = {
firefox.enable = true;
hyprland.enable = true;
};
environment.sessionVariables.NIXOS_OZONE_WL = "1";
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?
system.stateVersion = "26.05";
}
+1 -1
View File
@@ -19,7 +19,7 @@
ports = [ 22 ];
settings.PermitRootLogin = "no";
};
# Ensure Wayland variables are globally set
environment.sessionVariables.NIXOS_OZONE_WL = "1";
}
+2 -2
View File
@@ -12,11 +12,11 @@
systemd.enable = true;
systemd.restartIfChanged = true;
## see: https://danklinux.com/docs/dgop/
# dgop.package = inputs.dgop.packages.${pkgs.stdenv.hostPlatform.system}.default;
enableSystemMonitoring = true;
enableDynamicTheming = true;
enableClipboardPaste = true;
enableClipboardPaste = true;
};
}
-1
View File
@@ -12,4 +12,3 @@
rbw
];
}
+16 -6
View File
@@ -4,7 +4,7 @@
programs = {
# Version Control
git = {
enable = true;
enable = true;
settings = {
user = {
name = "kiskaadee";
@@ -14,6 +14,17 @@
st = "status";
co = "checkout";
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";
init.defaultBranch = "main";
@@ -53,9 +64,9 @@
vw = "repo view --web";
};
};
};
};
### Navigation
### Navigation
zoxide = {
enable = true;
enableBashIntegration = true;
@@ -67,13 +78,13 @@
};
eza = {
enable = true;
enable = true;
enableBashIntegration = true;
extraOptions = ["--group-directories-first" "--header" "--icons"];
};
tealdeer = {
enable = true;
enable = true;
settings.updates.auto_update = true;
};
};
@@ -84,4 +95,3 @@
bc qpdf tty-clock grim slurp swappy libnotify fastfetch
];
}
+3 -4
View File
@@ -8,7 +8,7 @@
programs.neovim = {
enable = true;
defaultEditor = true;
viAlias = true;
viAlias = true;
vimAlias = true;
## Core settings
@@ -21,7 +21,7 @@
vim.opt.smartindent = true
vim.opt.wrap = false
vim.opt.termguicolors = true
-- Apply colorscheme after plugins load
vim.cmd("colorscheme catppuccin-mocha")
'';
@@ -29,7 +29,7 @@
## Declarative Plugin Management
plugins = with pkgs.vimPlugins; [
# Color scheme
catppuccin-nvim
catppuccin-nvim
# Advanced Syntax Highlighting for Python, Rust and Nix
{
@@ -52,4 +52,3 @@
];
};
}