Commit graph

718 commits

Author SHA1 Message Date
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
bors[bot]
f14dcdaf78
Merge #224
224: Allow for directories in module-list r=nrdxp a=Pacman99

fixes #221 
building on #222 this PR improves the lib functions pathsToImportedAttrs and pathsIn. First to add support for directories. This does not support actually passing a file in a directory, so `./matrix/default.nix` won't work but `./matrix` will - I should probably document this somewhere. 
Also I moved the filtering for nix files to `pathsIn`, since its only necessary for auto-import. We can assume that users would pass proper files in `module-list.nix`.

Co-authored-by: Pacman99 <pachum99@gmail.com>
2021-03-29 17:22:20 +00:00
bors[bot]
ed17d9e99f
Merge #216
216: Move host and suite implementation logic to lib r=nrdxp a=Pacman99

This is just the `mkSuites` and `mkHosts` part of the `mkDevos` PR. I would like to avoid changing mkSuites and mkHosts api, to make it easier to rebase changes into the mkDevos branch. But if necessary we can change them. And to that end, there is some more logic added to the flake.nix now which would ideally not be there if devos was meant to be a template. But since the goal is to move towards a lib function with template, this is just a step in that direction.

Co-authored-by: Pacman99 <pachum99@gmail.com>
2021-03-29 17:19:51 +00:00
Pacman99
7650526407 isoConfig: fix disabling profiles
convert each to a list which doesn't get appended to modulesPath
2021-03-29 09:59:58 -07:00
Pacman99
259ec11d92 tests: init testSuites
to test suites and profile processing
2021-03-29 09:05:54 -07:00
Pacman99
92700888b7 flake: update to use mkSuites and mkHosts 2021-03-29 09:05:54 -07:00
Pacman99
ec7eff63eb move hosts implementation logic to lib as mkHosts 2021-03-29 09:05:54 -07:00
Pacman99
7ebd6b5730 move suites implementation logic to lib as mkSuites 2021-03-29 09:05:54 -07:00
Pacman99
8ab865a853 lib/mkProfileAttrs: don't change to path
store paths can't be appended to a path
2021-03-29 09:05:54 -07:00