Commit graph

2073 commits

Author SHA1 Message Date
Timothy DeHerrera 3a735ce70b
core: pin registry by ref
Users may wish to change the default value of override and nixos
inputs. If they do so, we want the registry listing to reflect the
proper ref names afterwards.

Also create a shell alias to easily search every flake in nix.registry.
2021-02-14 15:50:49 -07:00
Timothy DeHerrera bf34d2071f
doc: new mdbook documentation 2021-02-14 02:46:05 -07:00
Timothy DeHerrera 4e582b1ff5
shell: remove cachix from i686-linux
Build of cachix is failing on i686-linux right now. Remove it so shell
is still usable.
2021-02-14 02:38:41 -07:00
Timothy DeHerrera 933fb8fee9
shell: cleanup devshell
* Add update command to flk
* Add cleaner usage to flk command
* Factor out scripts to be more readable
2021-02-14 02:29:17 -07:00
Timothy DeHerrera 1eb4d1f5ea
secrets: fix subtle error with .gitkeep
Add secrets .gitattributes to secrets dir and avoid encrypting it.
Fixes an issue with .gitkeep causing build failures on unlocked repos.
2021-02-12 23:07:49 -07:00
Timothy DeHerrera 147e5a8b12
shell: fix pkgs for nix-shell 2021-02-12 01:23:43 -07:00
Timothy DeHerrera 058c319506
workflows: keep community in sync with core 2021-02-11 21:34:19 -07:00
Timothy DeHerrera c42298febc
Merge pull request #116 from lourkeur/fix_115
core: fix #115
2021-02-11 20:49:03 -07:00
Louis Bettens cc097e1c73 core: fix #115 2021-02-08 13:35:05 +01:00
Timothy DeHerrera eb275d7d0e
core: fix #114 2021-02-07 18:23:31 -07:00
Timothy DeHerrera 850cb21124
flake: use same nixos versions for inputs 2021-02-07 14:25:18 -07:00
Timothy DeHerrera 77952d08c5
flake.lock: Update
Flake input changes:

* Updated 'ci-agent': 'github:hercules-ci/hercules-ci-agent/42e702d5865b7b7eb6ee5b743bcda7562f95e82e' -> 'github:hercules-ci/hercules-ci-agent/41d1fbfd2faa98559b2cad6da5d9c448b0182121'
* Updated 'devshell': 'github:numtide/devshell/8ba5f48386bbe42b9c7672e3a829eb9bb32f4213' -> 'github:numtide/devshell/02933029b06747c7523f3a6f677df06d4cfdfc7b'
* Updated 'home/nixpkgs': 'path:/nix/store/vlrfmmyplwyj5wb6pn46jbqqpc3qm7sf-source?lastModified=1610885893&narHash=sha256-VAETd1jhnWUJmq0b8Dbi9mo4qvS+AYC3d9tmVfnf2zQ=&rev=3888fe83e1c7b5331d032177b039e91f83bf34e1' -> 'path:/nix/store/ni76x56hwqch7c6lybf1vfh1cm4lqmp7-source?lastModified=1612241354&narHash=sha256-OepU8m0D4ZfgsPHt+QL5IGieGRCoA+b6RPqGRHkt9dg=&rev=8cef6531ff83c940d8be117011a667269e829338'
* Updated 'master': 'github:NixOS/nixpkgs/a0dc0f6f2c965b5ef9de31ca56b1d7aec190841e' -> 'github:NixOS/nixpkgs/77ffc4c2413dc4e1d269e1ec65d4b005188f8536'
* Updated 'nixos': 'github:NixOS/nixpkgs/8cef6531ff83c940d8be117011a667269e829338' -> 'github:NixOS/nixpkgs/2b973d233906fb0483263bca71bb789cad61513e'
* Updated 'nixos-hardware': 'github:nixos/nixos-hardware/a0d8383c422f85f37fccee5af74b1cb4b52287d9' -> 'github:nixos/nixos-hardware/3657e7c334469370e81d9a6ada1b08e4d82f4597'
* Updated 'nur': 'github:nix-community/NUR/7eb3c1f43fc26280b59114fd18908ebcd3754cc0' -> 'github:nix-community/NUR/6f0988f4ea1e39f24e9320bb88e8a16d7fae6590'
2021-02-07 14:14:10 -07:00
Timothy DeHerrera d93d63a5e8
flk: add get command 2021-02-06 14:51:57 -07:00
Timothy DeHerrera 3bc16596f7
lib: rename defaultImports 2021-02-06 13:30:17 -07:00
Timothy DeHerrera e2172c8410
shell: workaround https://github.com/NixOS/nix/issues/4529 2021-02-06 13:27:26 -07:00
Timothy DeHerrera 6290f9f1f6
hosts: fix core 2021-02-06 13:26:17 -07:00
Timothy DeHerrera 69e0bdff63
local: remove
set locale and timezone per host instead
2021-02-06 01:39:55 -07:00
Timothy DeHerrera 1d5b489bb2
suites: mv to dir 2021-02-06 01:31:48 -07:00
Timothy DeHerrera c6d25002ed
extern: move specialArgs here 2021-02-04 23:42:46 -07:00
Timothy DeHerrera 0ec0c25238
various refactors
* Move extern lists to their own folder
* Move unstable package and module imports to their own folder
* Create a genPkgs function to avoid using legacyPackages for the whole
  package set
* Move hmActivationPackages to legacyPackages
2021-02-03 23:44:58 -07:00
Timothy DeHerrera 7b404f587d
shell: fix formatted files not commited 2021-02-03 21:24:53 -07:00
Timothy DeHerrera a808eda724
cachix: add nix-community 2021-02-03 21:23:15 -07:00
Timothy DeHerrera 9b81fef485
Revert "ci: build iso"
This reverts commit 42bfb73a06.

For some reason, the iso is built every time, even when it doesn't
change, eating up all the space on cachix.
2021-02-03 21:07:08 -07:00
Timothy DeHerrera fc9c6d48dc
Revert "ci: fix nixos config"
This reverts commit 5703b77484.
2021-02-03 21:02:18 -07:00
Timothy DeHerrera f5c3194e44
fix: https://github.com/hercules-ci/support/issues/51 2021-02-03 20:57:41 -07:00
Timothy DeHerrera 42bfb73a06
ci: build iso 2021-02-03 20:31:00 -07:00
Timothy DeHerrera 5330121646
README.md: additional fixes 2021-02-03 20:16:44 -07:00
Timothy DeHerrera 564d2500fe
CONTRIBUTING.md: update pre-commit info 2021-02-03 19:51:08 -07:00
Timothy DeHerrera 55630829f9
secrets: init empty secrets dir 2021-02-03 19:42:57 -07:00
Timothy DeHerrera 39acbefbe9
ci: fix ci after core creation 2021-02-03 19:35:10 -07:00
Timothy DeHerrera c9ed0edf59
README.md: reflect new project structure 2021-02-03 19:16:27 -07:00
Timothy DeHerrera 40b49c52c1
create core branch without any profiles
This core will be used as the new base for the reuse branch, which is
essentiall the same as the existing template branch, except that it is
rebased from this core, simplifying future rebasing.
2021-02-03 18:58:58 -07:00
Timothy DeHerrera bd9878f82a
ci: move into build attribute 2021-02-03 16:41:21 -07:00
Timothy DeHerrera 33f29d62f4
Merge pull request #109 from nrdxp/refac-profs
profiles: add concept of suites
2021-02-03 15:37:25 -07:00
Timothy DeHerrera ec8a357ff9
Merge branch 'refac-profs' into template 2021-02-03 15:35:30 -07:00
Timothy DeHerrera e92283e9d0
suites: fix play 2021-02-03 13:16:21 -07:00
Timothy DeHerrera 9234577e7e
suites: add users to suites 2021-02-03 13:16:21 -07:00
Timothy DeHerrera c67b846929
profiles: add concept of suites
* Import attrs of profiles automatically with `defaultImport`.
* Refactor profiles to ensure all are functions returning a module.
* Add a suites.nix with collections of profiles.
* Add suites as `specialArgs` to modules.
* Add suite import to NixOS host.
2021-02-03 13:16:14 -07:00
Timothy DeHerrera 22e5b08fe3
ci: add aarch64-shell 2021-02-02 23:05:13 -07:00
Timothy DeHerrera 6b3100326b
core: add tealdeer 2021-02-02 22:46:12 -07:00
Timothy DeHerrera b7b8b592fa
suites: fix play 2021-02-02 09:39:29 -07:00
Timothy DeHerrera 57c60bcdcd
suites: add users to suites 2021-02-02 09:39:29 -07:00
Timothy DeHerrera 0837303bb5
profiles: add concept of suites
* Import attrs of profiles automatically with `defaultImport`.
* Refactor profiles to ensure all are functions returning a module.
* Add a suites.nix with collections of profiles.
* Add suites as `specialArgs` to modules.
* Add suite import to NixOS host.
2021-02-02 09:39:29 -07:00
Timothy DeHerrera 61c732a8e0
qutebrowser: enable darkmode 2021-02-02 09:39:13 -07:00
Timothy DeHerrera c5a2fa2f4d
qutebrowser: update config.py for new version 2021-02-02 09:27:19 -07:00
Timothy DeHerrera f8e3b70aee
qutebrowser: patch merged upstream 2021-02-02 01:34:19 -07:00
Timothy DeHerrera 5703b77484
ci: fix nixos config 2021-02-02 01:34:12 -07:00
Timothy DeHerrera 4514ea7687
graphical: latest kernel breaks nvidia 2021-02-02 01:30:24 -07:00
Timothy DeHerrera 51ffb69817
flake.lock: Update
Flake input changes:

* Updated 'devshell': 'github:numtide/devshell/21f3cc1433ec257cc9b85c91e471d54f7f74f646' -> 'github:numtide/devshell/8ba5f48386bbe42b9c7672e3a829eb9bb32f4213'
* Updated 'home': 'github:nix-community/home-manager/63f299b3347aea183fc5088e4d6c4a193b334a41' -> 'github:nix-community/home-manager/91bd34620d73340be03642279ee0d1c64110ee6c'
* Updated 'home/nixpkgs': 'path:/nix/store/6l6hv9pyfmznqmxkk77bbig0a9wsqslp-source?lastModified=1607981906&narHash=sha256-tFuNBkK0F5km1Lq5ulLgLVm3BvOvI7t4k4Y7xTIo3QE=&rev=dd95aa337e23a8a48fe82f0f7b1cced8bc03e379' -> 'path:/nix/store/vlrfmmyplwyj5wb6pn46jbqqpc3qm7sf-source?lastModified=1610885893&narHash=sha256-VAETd1jhnWUJmq0b8Dbi9mo4qvS+AYC3d9tmVfnf2zQ=&rev=3888fe83e1c7b5331d032177b039e91f83bf34e1'
* Updated 'master': 'github:NixOS/nixpkgs/3bdf95ceb5660273a01ed2e5be2676487f7e820e' -> 'github:NixOS/nixpkgs/a0dc0f6f2c965b5ef9de31ca56b1d7aec190841e'
* Updated 'nixos': 'github:NixOS/nixpkgs/3888fe83e1c7b5331d032177b039e91f83bf34e1' -> 'github:NixOS/nixpkgs/8cef6531ff83c940d8be117011a667269e829338'
* Updated 'nixos-hardware': 'github:nixos/nixos-hardware/874830945a65ad1134aff3a5aea0cdd2e1d914ab' -> 'github:nixos/nixos-hardware/a0d8383c422f85f37fccee5af74b1cb4b52287d9'
* Updated 'nur': 'github:nix-community/NUR/c32c0ee347949d55f34b0762dccaa52a1f73aa83' -> 'github:nix-community/NUR/7eb3c1f43fc26280b59114fd18908ebcd3754cc0'
2021-02-02 01:29:36 -07:00
Timothy DeHerrera 1c5a86026b
Create FUNDING.yml 2021-02-02 01:02:06 -07:00