Commit graph

213 commits

Author SHA1 Message Date
teutat3s fe2a196641
dumpyourvms: use systemd for disabling 2nd gpu,
hibernate when closing the lid, cleanup comments
2023-03-16 11:50:35 +01:00
teutat3s 2a9308fbc7
dumpyourvms: tailscale exit node not needed 2023-03-07 01:08:09 +01:00
teutat3s 228867acb7
dumpyourvms: enable tailscale 2023-03-05 14:45:09 +01:00
teutat3s c0f610b68c
ryzensun: add custom networking, docker-ci-runner
module enabled, secrets updated
2023-02-26 21:46:40 +01:00
teutat3s c016dd3f2b
dumpyourvms: re-enable global DNS over TLS 2023-02-24 17:57:55 +01:00
teutat3s b264d602ca
dumpyourvms: use DHCP for DNS again, add wg0 NIC 2023-02-02 17:23:50 +01:00
teutat3s dca0bd978d
Apply treefmt 2023-01-28 21:49:10 +01:00
teutat3s 2cc5ca5d60
dumpyourvms: update networking 2022-11-26 16:25:25 +01:00
teutat3s f791ceccd0
dumpyourvms: fix Error switching console mode to 1 unsupported 2022-11-26 04:23:53 +01:00
teutat3s d69ed82a31
ryzensun: disable mopidy 2022-11-20 23:14:21 +01:00
teutat3s aa65a39eff
Merge branch 'main' into teutat3s 2022-10-03 03:10:48 +02:00
teutat3s 986680cc26
bootstrap iso: add PubSolarOS naming, drone pipeline
adjustments to include a symlink to the latest iso built
2022-10-03 01:30:34 +02:00
teutat3s 175941c565
dumpyourvms, ryzensun: be less noisy with sound
and backlight % notifications.

Use waybar to show this info instead
2022-09-20 14:18:47 +02:00
teutat3s ae01ed16b8
dumpyourvms: make use of new option pub-solar...
core.hibernation to configure hibernation
2022-09-06 11:32:29 +02:00
teutat3s 9a7e53ab59
Rename option x-os -> core 2022-09-06 11:31:55 +02:00
teutat3s 9ef3d58d2e
Merge branch 'main' into teutat3s 2022-08-29 15:39:48 +02:00
teutat3s 209eed069c
Add comment how to build isoImage 2022-08-29 11:53:55 +02:00
teutat3s b263ca4c45
Merge branch 'main' into teutat3s 2022-08-14 17:21:34 +02:00
teutat3s 1c015508e1
tree: remove bud and all mentions of it
Include upstream update doc updates
2022-08-14 17:16:54 +02:00
teutat3s 820cc40356
Merge branch 'main' into teutat3s 2022-08-14 16:46:33 +02:00
hensoko c43b96c4d5 Fix core module (#116)
Co-authored-by: Hendrik Sokolowski <hensoko@gssws.de>
Reviewed-on: https://git.b12f.io/pub-solar/os/pulls/116
Reviewed-by: teutat3s <teutates@mailbox.org>
2022-08-14 13:54:19 +00:00
teutat3s 768392581d
dumpyourvms, ryzensun: change xkb_layout: us(intl) 2022-08-09 23:14:25 +02:00
teutat3s ed298f6140
dumpyourvms: update IPs 2022-08-09 11:56:43 +02:00
teutat3s a7fa725d62
dumpyourvms: fix DNSSEC issue, use correct IPv6
syntax for systemd-resolved conf
2022-08-09 11:56:41 +02:00
teutat3s d4bcb45ec2
ryzensun: add missing system.stateVersion 2022-07-15 12:36:17 +02:00
teutat3s f7fbdb80af
hosts: add missing system.stateVersion 2022-07-08 14:36:17 +02:00
teutat3s de8b7c9a5c
powder: init 2022-07-08 14:20:00 +02:00
teutat3s 4982c93248
dumpyourvms: fix wireguard mtu, use new IPv6 address 2022-07-08 14:16:10 +02:00
teutat3s 20efda1056
dumpyourvms: unbound DNS: add dns3.digitalcourage.de 2022-07-08 14:15:29 +02:00
teutat3s 5464cd2ebe
hosts: add missing system.stateVersion 2022-07-08 14:13:41 +02:00
teutat3s 412b830cb0
dumpyourvms: wip networking, use systemd-resolved for local DNS 2022-06-02 10:51:32 +02:00
teutat3s d2c7eea425
dumpyourvms: update networking 2022-04-30 15:10:25 +02:00
teutat3s bac40c211a
Update /etc/hosts 2022-03-23 11:10:30 +01:00
teutat3s 1d2eb2edd0
iso: use iso suite in PubSolarOS host
fae: boots PubSolarOS
2022-02-02 04:00:11 +01:00
teutat3s a774ccdb0c
fae: boots PubSolarOS 2022-01-31 17:51:42 +01:00
teutat3s bcd9f7e0a3
dumpyourvms: disable mopidy, vpn IP updates 2022-01-31 17:49:41 +01:00
teutat3s 32a51fd9ef
dumpyourvms: fix floating network-manager windows 2022-01-31 17:48:58 +01:00
teutat3s 5dbcf14d1f
iso: use iso suite in PubSolarOS host 2022-01-31 17:47:45 +01:00
teutat3s e19388f99b
Merge branch 'feature/basic-iso' into teutat3s-init-fae 2022-01-19 01:16:35 +01:00
teutat3s 082e33c1ed
wip 2022-01-19 01:13:15 +01:00
teutat3s 1f2a6fe066
dumpyourvms: swap, cpu schedutil, powersaving 2022-01-05 23:16:35 +01:00
teutat3s 74241b459e
switch to pub-solar user and use base-user profile 2021-10-25 22:43:02 +02:00
teutat3s 07c6de8b0d
ryzensun: init agenix 2021-10-25 01:43:19 +02:00
teutat3s 4b8c24df60
ryzensun: add custom keybindings 2021-10-25 01:16:28 +02:00
teutat3s 5f552149ea
Clean up unused git-crypt dirs/files 2021-10-24 23:42:36 +02:00
teutat3s 2588264d88
Make check work 2021-10-24 22:03:28 +02:00
teutat3s b79e92155a
bootstrap: add graphical profile 2021-10-24 20:13:18 +02:00
teutat3s 4bc3eaed27
dumpyourvms: switch to unencrypted /boot partition 2021-10-24 01:18:49 +02:00
teutat3s 3bb6c8bc66
agenix: init environment-secrets 2021-10-24 01:16:58 +02:00
teutat3s 5bf032e2c9
dumpyourvms: networking updates 2021-10-20 10:04:04 +02:00
teutat3s 4de6cd9641
dumpyourvms: update vpn 2021-10-12 00:36:23 +02:00
teutat3s a5df658fb2
Update flake.lock, enable virtualization 2021-09-06 18:59:46 +02:00
teutat3s 02330bc9ce
Merge remote-tracking branch 'devos/master' 2021-09-01 18:45:42 +02:00
teutat3s e33191591c
Merge remote-tracking branch 'devos/main' into teutat3s-develop 2021-08-15 10:20:36 +02:00
David Arnold b5da406689
fix: dedicated bootstrap config 2021-08-05 20:42:25 -05:00
teutat3s e5ddbd1f75
Add more hosts to /etc/hosts 2021-07-07 19:13:46 +02:00
teutat3s cca0aa30f5
Fix top screen border for con 2021-06-28 14:01:24 +02:00
teutat3s 0829154ec4
Fix ryzensun on Devos 2021-06-22 03:10:54 +02:00
teutat3s e1e633750a
Init ryzensun on Devos 2021-06-22 02:59:24 +02:00
teutat3s 7faf8310bb
Init host: con 2021-06-21 10:02:25 +02:00
teutat3s 8293ebafb4
Improve power management 2021-06-20 15:38:01 +02:00
teutat3s a03e44a95a
Adjust keyfile path 2021-06-15 02:11:48 +02:00
teutat3s 9897fb174a
Merge branch 'core' into teutat3s 2021-06-15 01:39:57 +02:00
Benjamin Bädorf a9e304617b feat/upstreaming (#4)
Co-authored-by: Benjamin Bädorf <hello@benjaminbaedorf.eu>
Co-authored-by: teutat3s <teutates@mailbox.org>
Reviewed-on: https://git.b12f.io/pub-solar/os/pulls/4
Co-authored-by: Benjamin Bädorf <b12f@noreply.example.org>
Co-committed-by: Benjamin Bädorf <b12f@noreply.example.org>
2021-06-14 23:28:23 +00:00
teutat3s 3e0017a191
fix: dumpyourvms builds 2021-06-14 21:44:38 +02:00
teutat3s 6c40b31e79
Initial teutat3s commit 2021-06-06 15:22:44 +02:00
Timothy DeHerrera 2d91946745
doc: move all docs under doc 2021-04-18 20:42:49 -06:00
Pacman99 ec7eff63eb move hosts implementation logic to lib as mkHosts 2021-03-29 09:05:54 -07:00
Pacman99 25a2431ff7 hosts: add cachix 2021-03-23 10:25:42 -07:00
Pacman99 cc52cd9fa2 users: wire up all user profiles to userSuites and pass to home-manager 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
Timothy DeHerrera 9ba1e7f9bc
nix: remove patch for default unstable features 2021-03-22 23:29:30 -06:00
Pacman99 aec7c92cc7 hosts: set nixpkgs.pkgs based on nixpkgs.system 2021-03-19 12:23:23 -07:00
Pacman99 dd494facc3 hosts/devosSystem: pass modules as attrset 2021-03-17 17:28:49 -07:00
Pacman99 6210daff13 add hosts module arg to easily access other host's config 2021-03-16 16:09:52 -07:00
David Arnold 3d324e7533 lib/devos: bake devos repo into live cd (#168)
fix #167 

This worked for me to bootstrap another machine.
2021-03-16 19:50:38 +00:00
Timothy DeHerrera c012f2f4ed treewide cleanups and refactoring for initial tests (#157)
- [x] refactor lib into separate files, similar to NixOS/nixpkgs/lib.
- [x] refactor ci to automatically generate derivations from flake outputs
- [x] remove cluttered indirection statements throughout the codebase
- [x] refactor hosts to allow for upcoming integration tests
- [x] improve ambiguity in the existing docs 
- [x] add [BORS](https://bors.tech) support
- [x] add initial integration test
- [x] write tests documentation
- [x] test lib
- [x] improve version string generation, and do so automatically for pkgs/flake.nix sources

Clean up the codebase as best we can in preparation for #152 and add tests. From now on, all PRs will be merged with BORS.
2021-03-14 07:10:51 +00:00
Timothy DeHerrera 98404a158b
hosts: pass host as reference
Allow easier debugging, in the same vain as
1651913910.
2021-03-01 23:05:32 -07:00
Timothy DeHerrera 44bae21564
nix#registry: update names
Continuing the work from 487fa7ea26,
simplify the registry entries a bit more by simply refering to the
input flakes. Also add alias `orch` for easy search `override`.
2021-03-01 20:11:23 -07:00
Louis Bettens 487fa7ea26 hosts: fix #142 2021-03-01 18:05:58 +01:00
Timothy DeHerrera 1651913910
profiles: simplify profiles to suites
* Leave importing to nixpkgs module implentation. Provide a path
  instead; resolves #136.
* Allow profiles which are not lambdas but simple attribute sets,
  relaxing the constraints a bit.
* Update profile README.md
* defaultImports -> mkProfileAttrs: allow importing subprofiles even
  if parent directory does not contain a default.nix.
2021-02-25 14:47:19 -07:00
Timothy DeHerrera 8939c3401b
project rename: nixflk -> devos 2021-02-17 18:31:33 -07:00
Timothy DeHerrera 0405949ec6
doc: finish flk reference 2021-02-14 17:41:15 -07:00
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 6290f9f1f6
hosts: fix core 2021-02-06 13:26:17 -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 fc9c6d48dc
Revert "ci: fix nixos config"
This reverts commit 5703b77484.
2021-02-03 21:02:18 -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 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 5703b77484
ci: fix nixos config 2021-02-02 01:34:12 -07:00
Timothy DeHerrera 4ae99af29d
Merge pull request #102 from blaggacao/da/iso-sd-netboot
host: add deault implementation for system.build.isoImage target (per…
2021-02-01 19:51:44 -07:00
Timothy DeHerrera fc082b5b0d
hosts: add nixpkgs to NIX_PATH 2021-02-01 09:56:33 -07:00
David Arnold 8cb82a307f
iso: move iso target to ./lib 2021-01-27 21:17:59 -05:00
David Arnold 33bcf093b7
iso-cd: fix by overruling conflicting custom configuration 2021-01-27 21:16:52 -05:00
David Arnold 28ccf4f3f9
host: add deault implementation for system.build.isoImage target (per host) 2021-01-27 21:16:51 -05:00