Convert to flake-parts & easy-hosts. Users broke

convert to using flake-parts and easy-hosts for the flake system. This
allows me to remove my poor file-system based code and replace it with
the code done in easy-hosts. Which also has good knock-on effects.

This change factors users out of hosts, which is probably a good change
since users aren't a nixos-module, but aren't completely untangled
either.

I'm going to leave users broken for a minute as I decide exactly how I
want to handle them.
This commit is contained in:
Julia Lange 2025-11-17 09:05:48 -08:00
parent b416affd1f
commit 823c6d0738
Signed by: Julia
SSH key fingerprint: SHA256:5DJcfxa5/fKCYn57dcabJa2vN2e6eT0pBerYi5SUbto
9 changed files with 68 additions and 82 deletions

31
hosts/onizuka/default.nix Normal file
View file

@ -0,0 +1,31 @@
{ ... }:
{
imports = [
./hardware.nix
];
nvidia.enable = true;
pipewire.enable = true;
polkit.enable = true;
tablet.enable = true;
system.timezone = "America/Los_Angeles";
system.users.bigWheels = [ "pan" ];
sshd.enable = true;
tailscale.enable = true;
tuigreet.enable = true;
niri.enable = true;
steam.enable = true;
steam.gamemode = true;
aagl.enable = true;
aagl.honkai-rail = true;
input-remapper.enable = true;
postgres.enable = true;
shell.enabledShells = [ "fish" ];
shell.defaultShell = "fish";
}