Commit Graph

243 Commits

Author SHA1 Message Date
3713ee2a4c
stuf 2021-09-18 13:29:27 +03:00
325c86fe06
nixos-hardware, better mn 2021-08-22 20:54:38 +03:00
08c79b45fb
stuf 2021-08-20 16:47:30 +03:00
b15d657641
helix nix lsp 2021-08-16 12:29:55 +03:00
c85309dd10
tro 2021-08-16 03:15:43 +03:00
c39f6ed7a1
tro 2021-08-13 23:07:37 +03:00
b88b57ca0b
asdfasdf 2021-08-13 22:06:05 +03:00
fb0fed3751
tro 2021-08-12 23:10:54 +03:00
2bee47c915
Merge remote-tracking branch 'upstream/main' into terra 2021-08-12 20:02:29 +03:00
David Arnold
5657ddf3c1
fix: input ref / bump digga
the indirect reference started failing with
```
warning: Git tree '/home/blaggacao/ghq/github.com/divnix/devos' is dirty
error: NAR hash mismatch in input 'github:NixOS/nixpkgs/release-21.05' (/nix/store/0r0xrqj5l88071cama7hlha5ajya06c8-source), expected 'sha256-MhVtkVt1MFfaDY3ObJu54NBcsaPk19vOBZ8ouhjO4qs=', got 'sha256-jQgXeJ9NQQS0Eobb/qQOvS+RRULkqRikAeXkkFKOPDA='
```
2021-08-05 20:42:26 -05:00
9f552aa6fa
Merge remote-tracking branch 'upstream/main' into terra 2021-08-02 17:23:17 +03:00
David Arnold
2fcb3605ee
docs: soft update (fix the most obvious drift) 2021-08-01 16:38:52 -05:00
507f6581c9
oy 2021-08-02 00:17:30 +03:00
teutat3s
bf81ed29d1
Ensure pinning latest channel to nixpkgs nixos-unstable branch 2021-07-30 22:22:44 +02:00
62ea74ba6b
latest helix rnix-lsp 2021-07-26 21:55:56 +03:00
54bc0f49a8
fix chromium for now 2021-07-24 22:59:31 +03:00
7a9aad367e
fix chromium for now 2021-07-24 22:43:05 +03:00
111849d9a4
fix again 2021-07-24 20:01:36 +03:00
98e8ff16b2
fix 2021-07-24 18:38:59 +03:00
1ce4ea9e44
fix 2021-07-24 17:11:17 +03:00
6402cb4f35
Merge remote-tracking branch 'upstream/develop' into terra 2021-07-24 16:50:17 +03:00
Timothy DeHerrera
8b67cae20a
flake: remove ci-agent 2021-07-23 14:38:54 -06:00
David Arnold
a3ec0d2814
imp: use bud nixos-/devhsllModules and hide rebiding
both modules depend on `self`/`inputs` available as special args for
both, devshell & nixos modules, so bump to an improved `digga`, as well.
2021-07-20 23:36:41 -05:00
David Arnold
bf8620f8ba
ref: point digga to main (default) branch 2021-07-20 22:19:09 -05:00
David Arnold
31a8e76209
ref: adapt to using plain digga module for boostrap ISO 2021-07-20 21:45:41 -05:00
David Arnold
dcb425341d
update: digga/fup refactoring 2021-07-20 19:13:17 -05:00
David Arnold
a088edd77a fmt 2021-07-16 16:57:57 -05:00
David Arnold
6c25e77f6f add flake's nixConfig values that go well with this repo 2021-07-16 16:57:57 -05:00
David Arnold
aa45592c17 imp: add digga's nixConfig and patchedNix 2021-07-16 16:57:57 -05:00
David Arnold
4b9cab40cb imp: add portable user definition
According to https://github.com/nix-community/home-manager/issues/2161
there might be a better formal distinction between host-spaced and
portable arch-spaced hm users in the future.
2021-07-16 11:22:10 -05:00
David Arnold
6ebdf3adb4 imp: reduce flake inputs footprint and increase conciseness 2021-07-15 19:26:27 -05:00
f667861a5f
stuff 2021-07-14 22:59:23 +03:00
David Arnold
fe73d2a083
fix: hm pin to corresponding nixos version 2021-07-09 11:46:42 -05:00
David Arnold
bf59976063 work-around for https://github.com/NixOS/nix/pull/4641 2021-07-07 21:03:31 -05:00
David Arnold
33fb25e011 ref: move devshell module here to devos again 2021-07-07 21:03:31 -05:00
e889566c29
Merge remote-tracking branch 'upstream/core' into terra 2021-07-06 20:25:40 +03:00
2c893256c7
stuff 2021-07-05 00:01:15 +03:00
GTrunSec
f1117f27ec
fix hasekllPackages overlay 2021-06-24 22:58:26 -07:00
GTrunSec
ee89bf3f2a
feature: Add pkgs fetch manager nvfetcher
Co-authored-by: David Arnold <dar@xoe.solutions>
2021-06-24 21:37:50 -05:00
David Arnold
3cc28b3adb
bump digga to latest develop 2021-06-24 18:11:24 -05:00
c354d48fda
stuff 2021-06-23 19:49:50 +03:00
08e8fe9c28
stuff 2021-06-21 21:15:22 +03:00
2394d9ec50
stuff 2021-06-16 18:19:07 +03:00
David Arnold
62683b24ac
ref: pass our lib as lib.our to the module system
At least we don't find ourselves with strange module signatures
and use something that looks like a dedicated namespace within
he module system: `config.lib`
2021-06-13 23:30:05 -05:00
Pacman99
5831adb061 flake: switch to digga master
To use the now released v0.2.0
2021-06-08 18:14:32 -07:00
Pacman99
8e250d5084 flake: add agenix to devShell 2021-06-01 11:32:20 -07:00
Pacman99
d9082066f7 flake: update to new digga api 2021-06-01 11:32:20 -07:00
be53b5b4b6
proper registry 2021-05-28 19:37:09 +03:00
Pacman99
768e3e7541 Merge branch 'core' into develop 2021-05-27 11:02:41 -07:00
5d0a5fe6d8
stuff 2021-05-24 23:42:43 +03:00
1bcb0aae0a
o 2021-05-24 22:40:25 +03:00
6a0903533d
chore(deps): update flake deps 2021-05-24 22:40:25 +03:00
1fd44952ec
feat: port to devos develop again 2021-05-24 22:40:25 +03:00
d0757f69c5
chore(deps): update flake deps 2021-05-24 22:40:24 +03:00
471b4079a8
feat: add nix-eval-lsp, fix lib compat 2021-05-24 22:40:24 +03:00
ac9c4f75fd
refactor: seperate into modules 2021-05-24 22:40:07 +03:00
d5c1a63ba3
refactor!: port to devos 2021-05-24 22:40:00 +03:00
bors[bot]
da9f14cab2
Merge #279
279: Agenix integration r=blaggacao a=Pacman99

AFAICT This is mostly a documentation thing. But with divnix/devlib#2 we can now add agenix to the devshell.

Co-authored-by: Pacman99 <pachum99@gmail.com>
2021-05-20 18:53:20 +00:00
Pacman99
18d4c78ea5 flake: un-comment defaultTemplate
This was accidentally commented.
fixes #288
2021-05-16 19:35:52 -07:00
Pacman99
2ab4df3f60 suites: re-add rec to simplify suite definitions 2021-05-15 10:31:54 -07:00
Pacman99
64b7892f6e Add agenix integration to secrets and flake 2021-05-14 18:38:55 -07:00
Pacman99
2f474e37f7 flake: update to latest digga api
allows overlays to also be used with `imports` and renames importHosts
2021-05-14 16:49:12 -07:00
Pacman99
dd6c481791 flake: format ourlib for consistency with digga 2021-05-14 11:01:44 -07:00
Pacman99
923ce7feff tree: rename devlib -> digga 2021-05-14 10:20:02 -07:00
Pacman99
ccc0fc97fe flake.nix: use imports for auto-import of hosts
This makes the auto-importing of hosts obvious and explicitly indicates
how the options would end up getting merged.
2021-05-13 17:03:51 -07:00
Pacman99
c89dfed81c don't import cachix in suites
its already imported in the core profile
2021-05-12 19:18:11 -07:00
Pacman99
67f545123c flake: format and update to devlib api changes 2021-05-12 12:31:43 -07:00
Pacman99
3ee831f852
flake.nix: explicitly append overlays from path
Co-authored-by: David Arnold <dar@xoe.solutions>
2021-05-12 12:29:00 -07:00
Pacman99
f4cd79194a add in-tree local lib, ourlib 2021-05-05 13:44:39 -07:00
Pacman99
8dabd0f569 switch to devlib repo and remove in-tree lib 2021-05-05 13:24:08 -07:00
Pacman99
b8f7cdbe63 improve home-manager and deploy-rs integration
move both to be setup in template
only set home-manager options if they exist
2021-05-03 19:20:41 -05:00
Pacman99
e98e595704 pass builderArgs to config and extract builds
have mkHomeConfiguration create its own custom build within the function
create a externalModule for customBuilds so its easy to add more
2021-04-30 10:52:35 -07:00
Pacman99
a5dcb5fae9 fix flake by removing flake-compat follows 2021-04-27 18:41:51 -07:00
Pacman99
5bc88ad2c2 don't use lockfile to get flake-compat
lock file format isn't very reliable with naming inputs
2021-04-27 16:36:07 -07:00
Pacman99
aa825b87a6 auto import hosts in flake.nix
this allows host-specific settings to be overriden with mkMerge
2021-04-27 10:26:45 -07:00
Pacman99
d5276195f7 move overrides.nix to overlays
also update overrides docs
it is a pure devos overlay now, it makes sense to go in overlays
2021-04-27 09:47:04 -07:00
Pacman99
e67b49c280 auto-flatten coercedListOf and type fixes 2021-04-27 09:35:44 -07:00
Pacman99
e9675330a7 add cachix to base suite
to follow the new api
2021-04-26 19:34:18 -07:00
Pacman99
b766c693ab add pkgs overlay, pkgs.overlay is just for srcs 2021-04-26 13:21:40 -07:00
David Arnold
c3d8805ad6 update devos template to use new api 2021-04-26 11:51:39 -07:00
David Arnold
239386b5f8
Merge branch 'core' into api-next 2021-04-19 00:10:47 -05:00
David Arnold
a714cf466d
fix: various left-overs 2021-04-18 23:48:19 -05:00
Timothy DeHerrera
e1e0f99af9
suites: move to profles/suites.nix 2021-04-18 21:13:12 -06:00
Timothy DeHerrera
e13a65b33c
overrides: move to extern 2021-04-18 21:06:47 -06:00
David Arnold
19c900e293 workarround for unkown problem 2021-04-18 19:11:26 -05:00
David Arnold
5f89d27428 ref: extract lib into subflake 2021-04-18 19:11:26 -05:00
Pacman99
ac4c26755b init pkgs-lib, move tests and shell there 2021-04-10 13:36:54 -07:00
Timothy DeHerrera
be4b612b23
treewide: format with nixpkgs-fmt 2021-04-09 19:22:08 -06:00
Pacman99
d068d79bfd flake: use mkFlake
this is where we create devos's template structure
2021-04-06 12:45:04 -07:00
Pacman99
92700888b7 flake: update to use mkSuites and mkHosts 2021-03-29 09:05:54 -07:00
bors[bot]
ef1ee6e6b8
Merge #217
217: lib/mkPkgs: don't import external files and get inputs as argument r=nrdxp a=Pacman99

Changes mkPkgs to take extern, overrides, and pkgs as an argument. This improves their ability to be used as lib functions.

Co-authored-by: Pacman99 <pachum99@gmail.com>
2021-03-27 17:31:26 +00:00
Pacman99
e10fd4b319 shell: get extern and overrides to pass to mkpkgs 2021-03-27 10:09:05 -07:00
Pacman99
562f476fb5 lib/mkPkgs: fix function arguments
take extern and overrides as arguments as to not import external files
get inputs as a function dependency from callLib
2021-03-27 10:09:05 -07:00
Pacman99
58814fe741 flake: use filterPackages instead of flattenTreeSystem 2021-03-26 17:03:23 -07:00
Pacman99
dc9d9877b8 export homeConfigurations for all user@host pairs and add better home-manager only defaults 2021-03-23 09:43:37 -07:00
Pacman99
416a52fcd3 users: add and export user modules and import them in hosts 2021-03-23 09:43:37 -07:00
Pacman99
0e5aa6568e flake/home: release -> master 2021-03-23 09:43:37 -07:00
Timothy DeHerrera
44623b5979
nix: don't use nix flake
I originally wanted to use the nix flake to allow users to take
advantage of the latest changes. Just so happened that nixpkgs was
recently updated with a new version around the same time, and this
just adds complexity for no real gain.
2021-03-22 23:29:31 -06:00
Timothy DeHerrera
9537daee32
flake: nixos -> nixos-unstable
20.09 is getting stale as we move toward a new release so track
unstable for now.
2021-03-22 23:20:40 -06:00
Pacman99
3c8d22a528 flake/tests: improve multi arch support for flake checks 2021-03-19 12:23:23 -07:00