Commit graph

27 commits

Author SHA1 Message Date
Trolli Schmittlauch 83858d6d11 thinknix: enable guest user as a module
Introduce a guest user module that sets up a guest user with the default
desktop home packages through the home-manager NixOS module.

Enabled on thinknix.
2024-08-07 00:32:03 +02:00
Trolli Schmittlauch 563811c3ba update to NixOS 24.05 2024-06-11 07:36:07 +02:00
Trolli Schmittlauch f08a7540ef nix settings: unify for NixOS and nix-darwin
moved into a common module
2024-04-07 02:09:46 +02:00
Trolli Schmittlauch 3acecfd505 fixup! flake: add nix run .#hm -- switch command 2024-03-18 11:52:36 +01:00
Trolli Schmittlauch 969e3d981c workmac: move over the nix-darwin configuration 2024-03-18 11:49:35 +01:00
Trolli Schmittlauch b3cf056b94 flake: add nix run .#hm -- switch command
convenience shell script for invoking home-manager with the correct
homeConfiguration output
2024-03-17 19:54:46 +01:00
Trolli Schmittlauch f14b290937 unify home-manager configurations of workmac and main laptop
- manually inspected changes of "workmac" branch
- modularised out some config parts into modules
2024-03-17 19:18:53 +01:00
Trolli Schmittlauch 2bdff39416 [treewide] reformat all files with nixfmt-rfc-style 2024-03-16 17:18:20 +01:00
Trolli Schmittlauch 3a31c21ae2 flake: enable treefmt for formatting
- for now, uses only `nixfmt-rfc-style`
- can be invoked with `nix flake check` and `nix fmt`
2024-03-16 17:16:55 +01:00
Trolli Schmittlauch 77bdc00e95 logseq: move back to upstream nixpkgs 2024-02-25 22:53:31 +01:00
Trolli Schmittlauch 5cb55e9805 flake: add overlays and minimal devShell
inspired by 1cbeaa156b/profiles/base/default.nix
2024-02-12 19:12:47 +01:00
Trolli Schmittlauch a17a37f4c1 logseq: re-lock the temporary fixup flake input 2024-02-01 18:28:41 +01:00
Trolli Schmittlauch 9ad1049f4a nixosConfigurations: move input forwarding to inline module
Inspired by https://jade.fyi/blog/flakes-arent-real/, this is better for
composability:
>  it also doesn't work outside of the flake that's actually invoking nixpkgs.lib.nixosSystem. The latter is the much more sinister part, and the reason I would strongly recommend inline modules with closures instead of specialArgs: they break flake composition.

For now, the `system` remains a specialArg, until I decide what to do
with that.
2024-01-20 12:25:32 +01:00
Trolli Schmittlauch e5a5639aa1 host framenix: use latest firmware from unstable 2024-01-19 00:24:00 +01:00
Trolli Schmittlauch 27100bacb7 modularise flake config: fix and modularise home-manager config generation
unfortunately, homeConfigurations do not follow the pattern of having system-specific sub-attrs and thus are dependent on a specific system per-se.
2024-01-10 13:28:52 +01:00
Trolli Schmittlauch 993308a2d3 start modularising NixOS config for several hosts
First step in modularising the NixOS config, with a focus on separation of host-specific and common configs.
Common modules still need to be split up and refined, several TODOs and FIXUPs remain in code. But the config builds fine on thinknix.

Roughly based on/ inspired by https://johns.codes/blog/organizing-system-configs-with-nixos#using-nixos
2024-01-10 13:24:48 +01:00
Trolli Schmittlauch 0639633b0d fixup! logseq: temporarily use PR274180 flake input to fix insecure electron 2023-12-30 20:59:44 +01:00
Trolli Schmittlauch 20cec2c87e logseq: temporarily use PR274180 flake input to fix insecure electron 2023-12-15 23:26:56 +01:00
Trolli Schmittlauch 5d3936b624 nixos 23.05 -> 23.11; including home-manager 2023-12-04 22:03:33 +01:00
Trolli Schmittlauch 072fc2b6af enable secure boot wit Lanzaboote 2023-08-17 17:26:57 +02:00
Trolli Schmittlauch 277b1dbe54 upgrade to NixOS 23.05 2023-06-08 12:52:42 +02:00
Trolli Schmittlauch 35bb7901e5 tokodon: install from nixos-unstable
reason: not yet backported to stable
2023-04-14 03:01:07 +02:00
Trolli Schmittlauch c568b8dc24 flake-ify home-manager config with NUR and overlays 2023-04-14 01:56:52 +02:00
Trolli Schmittlauch 823500e981 include home-manager channel 2023-04-13 21:30:17 +02:00
Trolli Schmittlauch 339938b213 use nixos-hardware from flake inputs 2023-04-13 20:34:56 +02:00
Trolli Schmittlauch 62364a9db5 expose all flake inputs to NixOS system path and registry 2023-04-13 19:57:56 +02:00
Trolli Schmittlauch 4d1af7a40d initial flake for system configuration 2023-04-13 19:21:12 +02:00