Commit graph

1327 commits

Author SHA1 Message Date
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
Pacman99
0db2bb041e add old evalArgs as evalOldArgs, so flake works 2021-04-13 11:24:10 -07: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
Pacman99
2b70cd3ae6 fix some small bugs in mkFlake/evalArgs 2021-04-11 22:34:15 -07:00
Pacman99
8d0c036b6b
Merge pull request #239 from Pacman99/evalargs-next
Update evalArgs to match the new planned API
2021-04-11 20:10:52 -07:00
Pacman99
b7bcaea497 Update evalArgs to match the new planned api 2021-04-11 20:09:47 -07:00
Bad
d23101d515 Remove unused nvim package 2021-04-11 19:31:06 +02:00
Pacman99
658cd2bb08 pkgs-lib/shell: update to new homeConfigurations
flk should switch to use home-manager --flake whenever the updated
package is made available in the hm flake or nixpkgs
2021-04-11 10:28:28 -07: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
Pacman99
401566af34 lib/pkgs-lib: update checks for new hm format 2021-04-10 22:13:54 -07:00
Pacman99
8ba7bffc3f export users home for home-manager --flake
home-manager --flake needs the activationPackage in the root of the
homeConfiguration
2021-04-10 22:04:49 -07:00
bors[bot]
d5175f6cca
Merge #236
236: init pkgs-lib and add tests and shell r=nrdxp a=Pacman99

Towards the goal of removing top level folders and putting more things in lib. This shifts shell and tests to lib under the `pkgs-lib` namespace. This namespace is separated by architecture, because those lib functions rely on nixpkgs architecture specific derivations. I think this is the cleanest way to do it, you don't have to instantiate pkgs-lib for each arch, and it exposes some of these functions for others to use.

This PR also fixes multi-arch checks.

Co-authored-by: Pacman99 <pachum99@gmail.com>
2021-04-10 21:01:33 +00:00
bors[bot]
1f25b0b061
Merge #227
227: Fix documentation mistake after project rename r=nrdxp a=lycheese

After the project rename the cachix documentation in `cachix/README.md` contains instructions that do not work (`cachix use divnix`).

Tested that `cachix use nrdxp` works and should have the intended effect.

Co-authored-by: lycheese <4779944-lycheese@users.noreply.gitlab.com>
2021-04-10 20:44:48 +00:00
Pacman99
ac4c26755b init pkgs-lib, move tests and shell there 2021-04-10 13:36:54 -07: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
Timothy DeHerrera
be4b612b23
treewide: format with nixpkgs-fmt 2021-04-09 19:22:08 -06: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
Pacman99
3daa990728
fix userSpecialArgs defaults (#234)
Co-authored-by: Pacman99 <pachum99@gmail.com>
2021-04-09 12:03:42 -05:00
bors[bot]
1838e9fe2f
Merge #233
233: core: add usbutils r=nrdxp a=blaggacao

Looks like core does not include `lsusb` by default, now it does.

Co-authored-by: David Arnold <dar@xoe.solutions>
2021-04-09 03:33:30 +00:00
Timothy DeHerrera
18dbc7d0e4
Revert "drop toString in evalArgs - trying to fix CI"
This reverts commit a253033931.
2021-04-08 21:18:08 -06:00
Timothy DeHerrera
eaff91c0f9
Revert "drop toString in pathsIn - trying to fix CI issues"
This reverts commit 930b3e96b4.
2021-04-08 21:17:24 -06:00
David Arnold
ab2919df21
core: add usbutils
Looks like core does not include `lsusb` by default, now it does.
2021-04-08 22:03:38 -05:00
bors[bot]
3823eb6423
Merge #231
231: Move flake implementation logic to lib r=nrdxp a=Pacman99

This is a simpler version of #218 that moves flake logic to lib and adds a module to evaluate devos. This DOES NOT support out of tree usage, so if you were following any of the previous PR's, the doc sections/examples to use devos as a library will not work. There is work to make a cleaner api and only then will out of tree support work. Until then, this is still useful to simplify devos and clean up a lot of the implementation logic.

Co-authored-by: Pacman99 <pachum99@gmail.com>
2021-04-09 02:58:30 +00: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
bors[bot]
306e7c1967
Merge #229
229: make core an unecessary profile and add to suites r=nrdxp a=Pacman99

Prevents mkHosts subverting standard devos api to import core and add
all necessary core features to mkHosts, so core can be safely deleted in
suites

Co-authored-by: Pacman99 <pachum99@gmail.com>
2021-04-07 02:04:27 +00:00
Pacman99
115f1e6711 make core an unecessary profile and add to suites
Prevents mkHosts subverting standard devos api to import core and add
all necessary core features to mkHosts, so core can be safely deleted in
suites
2021-04-06 19:00:57 -07:00
Pacman99
a253033931 drop toString in evalArgs - trying to fix CI 2021-04-06 17:33:05 -07:00
Pacman99
930b3e96b4 drop toString in pathsIn - trying to fix CI issues 2021-04-06 17:02:30 -07:00
Pacman99
d068d79bfd flake: use mkFlake
this is where we create devos's template structure
2021-04-06 12:45:04 -07:00
Pacman99
340784df6d lib: init evalFlakeArgs for mkFlake args
module describing devos flake arguments
2021-04-06 12:45:04 -07:00
Pacman99
a76ca177fd lib: init mkFlake to create a devos flake
general lib function - not devos specific
2021-04-06 12:45:04 -07: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
lycheese
2c3f17a458 Fix documentation mistake after project rename 2021-04-03 16:25:28 +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