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 environments
|
||||||
.direnv/
|
.direnv/
|
||||||
|
|
||||||
# Local debugging/diff logs
|
|
||||||
diff.txt
|
|
||||||
|
|
||||||
@@ -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" ];
|
||||||
@@ -18,51 +18,16 @@
|
|||||||
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?
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -12,4 +12,3 @@
|
|||||||
rbw
|
rbw
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
+11
-1
@@ -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";
|
||||||
@@ -84,4 +95,3 @@
|
|||||||
bc qpdf tty-clock grim slurp swappy libnotify fastfetch
|
bc qpdf tty-clock grim slurp swappy libnotify fastfetch
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -52,4 +52,3 @@
|
|||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
Reference in new issue
Block a user