Bad
b0ce77e392
Merge branch 'config' of im.badat.dev:bad/devos into config
2021-04-28 22:09:03 +02:00
Bad
577a52cbaf
Merge branch 'config' of im.badat.dev:bad/devos into config
2021-04-28 22:04:34 +02:00
Bad
ade09df4d3
Add markdown-composer
2021-04-28 22:03:45 +02:00
Bad
80a71caec6
Fix user profiles
2021-04-28 22:00:44 +02:00
Bad
1459021625
Add clangd
2021-04-28 20:23:15 +02:00
Bad
868474b3df
Add podman and docker
2021-04-28 11:16:17 +02:00
Bad
ddfa46aa15
Add gvfs
2021-04-28 11:16:08 +02:00
Bad
165697444f
Add tor
2021-04-25 23:43:46 +02:00
Bad
ebfbc086b7
Merge branch 'config' of im.badat.dev:bad/devos into config
2021-04-24 23:26:15 +02:00
Bad
56f5094be1
Remvoe hosts block
2021-04-24 23:26:09 +02:00
Bad
b7f9aea634
Update the lock
2021-04-20 09:31:01 +02:00
Bad
fbf6869f8b
Add comma
2021-04-20 08:10:58 +02:00
Bad
3a70d588aa
Add mumble
2021-04-20 08:10:41 +02:00
Bad
136156ff9a
Add steam-run
2021-04-16 14:32:04 +02:00
Bad
7763490e0a
add pavucontrol
2021-04-16 11:03:52 +02:00
Bad
6e55fa0a59
Add dnot die to tmux
2021-04-16 11:03:26 +02:00
Bad
fc285ed80b
Add mumble
2021-04-16 11:03:13 +02:00
Bad
05d60b0ef7
Add numpy to python
2021-04-16 11:03:02 +02:00
Bad
8910cacc2a
Merge branch 'config' of im.badat.dev:bad/devos into config
2021-04-15 19:32:36 +02:00
Bad
62cec7d03f
Fix steam
2021-04-15 19:32:29 +02:00
Bad
62f091d089
replace r2 with rz
2021-04-15 19:27:15 +02:00
Bad
a278aa743d
add a temp hosts block
2021-04-15 14:44:23 +02:00
Bad
06f22fd874
Separate mae into two users
2021-04-15 14:40:48 +02:00
Bad
332881e306
Add coc config
2021-04-15 12:23:55 +02:00
Bad
ae16e2ea9b
Add sway home-manger config
2021-04-15 01:06:10 +02:00
Bad
68553c9dd7
Add radare from git
2021-04-13 23:25:15 +02:00
Bad
46d510d755
Add various commandline utils
2021-04-13 16:07:20 +02:00
Bad
b53eba6f59
Set default git branch name
2021-04-13 07:05:42 +00:00
Bad
827eafa765
Set username and email in git
2021-04-13 07:03:36 +00:00
Bad
79668bebc1
Add direnv to imports
2021-04-13 07:03:21 +00:00
Bad
cc4ef3f90a
Add qalc
2021-04-13 07:02:39 +00:00
Bad
cc37cc0bd9
Update flake.lock
2021-04-12 14:51:05 +02:00
Bad
d23101d515
Remove unused nvim package
2021-04-11 19:31:06 +02:00
Bad
0c8b07077e
Refactor configs
2021-04-11 18:04:01 +02:00
Bad
97656f8e60
Add fzf
2021-04-11 18:00:14 +02:00
Bad
24f67782ed
Add tmux to zshrc
2021-04-10 21:12:06 +02:00
Bad
c14709c941
Add nix-shell zsh
2021-04-10 14:50:48 +02:00
Bad
e5d8397eaa
Add zsh configuration
2021-04-10 14:46:40 +02:00
Bad
a4a88ca8ed
Add gdb
2021-04-10 00:33:34 +02:00
Bad
65f1230f38
redshift and stuff
2021-04-09 21:20:58 +02:00
Bad
621cab576f
a
2021-04-09 19:51:39 +02:00
Bad
93ff048648
Fix steam and lutris
2021-04-09 19:45:47 +02:00
Bad
974df19d61
Install a bunch of useful packages
2021-04-08 22:07:42 +02:00
Bad
c96aa57fb1
Update all packages
2021-04-08 12:43:24 +02:00
Bad
7f86d72347
Fix steam and add school profile
2021-04-08 12:35:13 +02:00
Bad
8f204d6f50
Format files
2021-04-06 20:59:09 +02:00
Bad
40a4e0e21f
Remove cachix
2021-04-06 15:11:38 +02:00
Bad
bb0468d538
Init
2021-04-06 13:37:40 +02:00
bors[bot]
01b0555117
Merge #225
...
225: lib: only readDir if path exists with safeReadDir r=nrdxp a=Pacman99
After doing this for the second time, I realized it might be good to make a lib function for it and do it across lib.
Create a function called `safeReadDir` that only uses `builtins.readDir` if the path exists. With `optionalAttrs` any function that relies on the output won't fail since they still get an empty attrset.
Then replace all uses of `readDir` with the safe version.
Co-authored-by: Pacman99 <pachum99@gmail.com>
2021-04-01 20:08:55 +00:00
Pacman99
3d1501c384
lib: only readDir if path exists with safeReadDir
2021-04-01 11:39:02 -07:00