Pratham Patel
bac77fce45
flash-img-and-uboot.sh: add usage so I dont need to open the script to check params everytime
2024-02-10 10:26:35 +05:30
Pratham Patel
c8063fa7d2
mock-build.sh: read version from /etc/os-release
2024-02-10 09:23:49 +05:30
Pratham Patel
3f56e6d7a8
linux-setup.sh: (dnf) bump max_parallel_downloads from 10 to 20
2024-02-09 18:39:26 +05:30
Pratham Patel
b0671a2a32
linux-setup.sh: home-manager was moved to a flake-based config, account for that in the "installer"
2024-02-09 18:22:07 +05:30
Pratham Patel
c73d42f070
home-manager: home-manager as a flake
2024-02-09 17:27:18 +05:30
Pratham Patel
0546709abf
home-manager: neovim: add pkg nixpkgs-fmt
2024-02-08 19:45:37 +05:30
Pratham Patel
77a477f9d2
home-manager: move neovim related pkgs under packages.neovim.extraPackages
2024-02-07 20:38:19 +05:30
Pratham Patel
e0a0d480f7
bashrc: add /sbin to PATH if exists
2024-02-07 20:37:26 +05:30
Pratham Patel
a64394c866
linux-setup.sh: run rustup-manage.sh at the end
2024-02-06 13:06:18 +05:30
Pratham Patel
8a61446a38
rust-manage.sh: improve detection of the binary
2024-02-06 13:05:23 +05:30
Pratham Patel
fd7fa7d7e9
fix typo
2024-02-06 11:04:33 +05:30
Pratham Patel
3020367e4b
home-manager: enable nix-direnv using the already present option
2024-02-05 09:42:26 +05:30
Pratham Patel
3fcc72217f
.ssh/config: disable host key checking for host "opi5"
2024-02-04 18:14:55 +05:30
Pratham Patel
6853e0b691
home-manager: use the nix-direnv pkg since it is faster
2024-02-01 20:41:48 +05:30
Pratham Patel
1cdfd5a75e
nvim: autoclose.nvim: disable autoclose of single quotes and enable nice markdown autocloses
2024-02-01 19:53:44 +05:30
Pratham Patel
6b60efabc4
rust-manage.sh: improve pgrep and completion gen
2024-01-27 22:46:35 +05:30
Pratham Patel
2c0f553087
bashrc: "dynamically" connect to serial console with baud-rate and also the console itself
2024-01-27 19:08:10 +05:30
Pratham Patel
198aee37a2
add alias to chown the efi_vars.fd file with UTM installed via Nix
2024-01-26 16:22:00 +05:30
Pratham Patel
01d8ab7d28
add a function to scan for open ports
2024-01-26 15:34:24 +05:30
Pratham Patel
1297284712
flatpak-manage.sh: improve detection of flatpak bin
...
When running this script from a NixOS systemd service, the PATH is
"isolated". And adding the path of the flatpak package to PATH would
likely just install the flatpak package too. Which is not intentional
for non-desktop systems. So, use this hack or whatever.
2024-01-20 17:25:09 +05:30
Pratham Patel
ff3d3e608a
flatpak-manage.sh: run only on Linux
2024-01-20 17:19:22 +05:30
Pratham Patel
1edbe86406
flatpak-manage.sh: improve arch detection
2024-01-20 17:12:41 +05:30
Pratham Patel
7fa2010ac9
flatpak-manage.sh: improve flatpak detection
2024-01-19 09:29:31 +05:30
Pratham Patel
c8da101b1e
bashrc: add git aliases to show diff without context
2024-01-13 19:18:24 +05:30
Pratham Patel
001f1f61c6
bashrc: add git aliases for dotfiles too
2024-01-12 18:45:50 +05:30
Pratham Patel
c2dcbb87aa
bashrc: add conditional aliases for [n]vi[m], add alias "e" for the same
2024-01-12 18:35:37 +05:30
Pratham Patel
1962a7410c
bash: can't believe I didn't have git aliases
2024-01-12 18:28:16 +05:30
Pratham Patel
d99559ca3a
bashrc: sudo: do not preserve PATH
2024-01-12 13:03:10 +05:30
Pratham Patel
339ed8e2e3
linux-setup.sh: no need to run on NixOS
2024-01-12 11:35:34 +05:30
Pratham Patel
39be9495cb
home-manager: disable html,json and man manuals
...
See: https://github.com/nix-community/home-manager/issues/4879
2024-01-11 09:47:04 +05:30
Pratham Patel
dd29708fd2
bashrc: group all ripgrep aliases together
2024-01-09 22:51:09 +05:30
Pratham Patel
ef1f0bbcc4
bashrc: dirty trick for user alises and envs to be passed with sudo
2024-01-09 22:50:29 +05:30
Pratham Patel
7ebc778a4c
home-manager: add pkg: gcc
2024-01-09 17:24:17 +05:30
Pratham Patel
a967d06e89
bashrc: update HISTIGNORE
2024-01-09 17:18:18 +05:30
Pratham Patel
45c3748d68
improve linux-setup.sh
...
- remove the setup that modifies sources.list; this was present because
I fucked up my debian install when I was testing this
- add pkg to both (debian and fedora): openssh-server so that the SSH
daemon can be enabled
- support ubuntu with debian
- move SSH daemon enablement after installing pkgs; this is because
ubuntu does not even install the openssh-server package on the desktop
variant (fair, but pain in the ass)
2024-01-09 17:05:59 +05:30
Pratham Patel
ea352ab76f
linux-setup.sh: remove fedora/rhel pkg: kernel-devel-matched
2024-01-08 18:13:21 +05:30
Pratham Patel
56ed49811b
0-init.sh: improve the ca-cert-whatever setup
2024-01-08 18:12:28 +05:30
Pratham Patel
ad07843c3a
0-init.sh: replace git-prompt (no longer needed) with the ca-cert-whatever for aria2c on RHEL
2024-01-08 17:57:51 +05:30
Pratham Patel
466502cdf6
fix typo
2024-01-08 17:42:55 +05:30
Pratham Patel
083c5fc72b
home-manager: enable direnv
2024-01-08 17:41:28 +05:30
Pratham Patel
f9d18df155
home-manager: moar pkgs
2024-01-08 17:34:36 +05:30
Pratham Patel
ecb02c6491
bashrc: dead simple prompt
2024-01-08 17:05:12 +05:30
Pratham Patel
e690586d65
bashrc: add a few shell options
2024-01-08 16:26:14 +05:30
Pratham Patel
677902b4f6
bash: simplify the fucking PS1, it is abysmally show
2024-01-08 15:54:34 +05:30
Pratham Patel
e2ddd9f388
bashrc: add check for interactive shell
2024-01-08 11:13:51 +05:30
Pratham Patel
f12101da53
linux-setup.sh: improve detection of RHEL-based OSes
2024-01-08 10:44:39 +05:30
Pratham Patel
54359f35f7
home-manager: remove fish
2024-01-07 20:16:37 +05:30
Pratham Patel
3daf8d659f
move home-manager and nixos channel(s) to nixos-unstable (24.05)
2024-01-07 19:27:48 +05:30
Pratham Patel
47b26d446b
0-init.sh: get git-prompt only if OS is *not* NixOS
2024-01-07 18:37:33 +05:30
Pratham Patel
89ff797946
update gitignore
2024-01-07 18:35:06 +05:30