chore: refine git workflow, prune system configuration, and lint formatting
This commit is contained in:
1 parent
924f603cd6
commit
eef77f85e1
5 files changed
+15
-44
No files matched your search
@@ -5,6 +5,4 @@ result-*
|
||||
# Direnv environments
|
||||
.direnv/
|
||||
|
||||
# Local debugging/diff logs
|
||||
diff.txt
|
||||
|
||||
@@ -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" ];
|
||||
@@ -18,51 +18,16 @@
|
||||
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";
|
||||
}
|
||||
|
||||
|
||||
@@ -12,4 +12,3 @@
|
||||
rbw
|
||||
];
|
||||
}
|
||||
|
||||
+11
-1
@@ -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";
|
||||
@@ -84,4 +95,3 @@
|
||||
bc qpdf tty-clock grim slurp swappy libnotify fastfetch
|
||||
];
|
||||
}
|
||||
|
||||
@@ -52,4 +52,3 @@
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user