feat: add clc command
This commit is contained in:
@@ -84,7 +84,8 @@ in {
|
||||
# Define a user account. Don't forget to set a password with ‘passwd’.
|
||||
users.users.allen = {
|
||||
isNormalUser = true;
|
||||
extraGroups = [ "wheel" "wireshark" ]; # Enable ‘sudo’ for the user.
|
||||
extraGroups =
|
||||
[ "wheel" "wireshark" "podman" ]; # Enable ‘sudo’ for the user.
|
||||
shell = pkgs.fish;
|
||||
home = "/home/allen";
|
||||
packages = with pkgs; [ tree ];
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
alias c="clear"
|
||||
alias rb="sudo nixos-rebuild switch --flake ~/nixos-config#"
|
||||
alias boot-rb="sudo nixos-rebuild --install-bootloader boot --flake ~/nixos-config#"
|
||||
alias clc="cloc . --exclude-dir=target,node_modules,.venv --exclude-ext=yml,yaml,csv -v"
|
||||
alias dry-rb="sudo nixos-rebuild dry-build --flake ~/nixos-config#"
|
||||
|
||||
alias win="grub-reboot 'Windows Boot Manager (on /dev/sda2)' && reboot"
|
||||
|
||||
@@ -9,6 +9,7 @@ with pkgs; [
|
||||
zap
|
||||
lldb
|
||||
tokio-console
|
||||
deno
|
||||
iaito
|
||||
clang
|
||||
valgrind
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
podman = {
|
||||
enable = true;
|
||||
dockerCompat = true;
|
||||
dockerSocket.enable = true;
|
||||
defaultNetwork.settings.dns_enabled = true;
|
||||
};
|
||||
libvirtd.enable = true;
|
||||
|
||||
Reference in New Issue
Block a user