Commit graph

42 commits

Author SHA1 Message Date
e79e654093
Flake, flake-part+easy-host, remove unused inputs
IF YOU ARE NOT ME: I would not use this configuration. In the past I
would feel confident telling you to drop in your own host and be off to
the races, but right now users are in a state which required hard coding
some of my nominal preferences. Read on for more specifics

Completely refactors the flake.nix part of the repo. This removes my
strange legacy code for directory-based hosts+users in favor of using
easy-host and flake-parts.

As a result of this some specialArgs were lost, namely the list of users
and the username being passed. I think this is the right way to go in
the short term, but it has lead to some hardcoded values. Namely "pan"
is created as a user regardless of configuration

In tandem with this is the deprecation of some modules which had inputs
in flake which I wasn't using. I'm sure there is a better way to do
this, but I didn't like downloading and caching them every time when I
knew I wasn't using them.

I'm currently very unhappy with the users part of this change, but that
wasn't the goal of this branch. I will revisit in a larger commit.
2025-11-19 09:23:13 -08:00
b416affd1f
Caddy, DNS Challenges; Headscale, Magic_dns
Changed to using Porkbun DNS Challenges for Caddy. This enables wildcard
certificates. Documentation
- https://caddyserver.com/docs/caddyfile/patterns#wildcard-certificates
- https://caddyserver.com/docs/automatic-https#dns-challenge

Changed headscale to use a domain I own instead of the beautiful madoka
OP.
2025-09-18 08:18:34 -07:00
0447a25a77
Greetd, switch to direct packages 2025-09-16 18:33:29 -07:00
5c996e0885
Fava, change port to number; open port 2025-09-16 17:35:34 -07:00
a2939e5613
Fava, change ledgers to list 2025-09-15 11:52:12 -07:00
1de1ba027b
Pds, change pds to bluesky-pds 2025-09-15 10:42:36 -07:00
641e226f9b
Fava, setup service; enable for Juri 2025-09-15 10:38:44 -07:00
863101b6f6
Syncthing, HM and Nixos Module 2025-08-04 19:45:17 -07:00
f648219d12
Ssh, change default port to 22 2025-07-10 13:52:26 -07:00
f124e0550d
Tailscale, Move to service, enable on Juri & Onizuka 2025-07-10 12:06:34 -07:00
717b6e5c8e
Headscale, initialization 2025-07-10 12:06:30 -07:00
385eab27ba
Ssh, longer timeouts 2025-07-10 12:06:30 -07:00
f5962d1d27
Niri, Hypr, Flake Bump, tuigreet, init niri
Sets up a config for Niri which involved both the host and user config
settings. It's a semi basic set up to be improved on further later.

This also needs to bump flake so that niri can be added to the flake
update. I don't know what the flake bump date was at this point, so I'll
have to bump it again soon.

This needs to break apart the "waylandcompositors" service to allow niri
and hypr to better fit the directory structure. Otherwise Hypr is
unchanged.

need to update the tuigreet default WM based on the currently selected
one. Currently prioritizes Hyprland > Niri because I didn't want to
write assert code...
2025-05-22 09:27:37 -07:00
8cd1945b3b
Postgres, service init 2025-04-09 14:06:04 -07:00
b5eea3d798
Forgejo, use sshd port internally, disable https 2025-03-27 09:26:52 -07:00
2c2c711dd9
Forgejo, init with admin account and server config
Automatically creates an admin account with sops data. Not my favorite
process because user needs to know to change the sops password to be
owned by forgejo, otherwise good though.

Has a bunch of useful config settings for setting up a server easily.
Commit with that to follow.

Point of worry: SSH_PORT setting isn't set, and will probably need to be
set later to allow people to commit and similar to the repos.
2025-03-24 12:33:48 -07:00
f373f2f743
Sshd, added port as option
Primarily so that it can be used in other modules since I default to a
non-standard port for obsecurity reasons.
2025-03-24 11:16:45 -07:00
85d6bb74e2
Caddy, caddy vhost configuration 2025-03-18 14:09:03 -07:00
57a1d1f5b9
Polkit,Hypr, update kde-packages to qt6, remove portal
There is a warning to update before deprecation. This is a fix for that.
Remove a conflicting portal implementation
2025-03-17 18:48:26 -07:00
cb75b0a444
Pds, add default pds with config options 2025-03-17 16:28:46 -07:00
224f3e5555
Sshd, 922 port and no password auth 2025-03-17 12:31:06 -07:00
5c4a4ef333
Sshd, very simple sshd setup 2025-03-12 22:29:53 -07:00
863891641f
Nvidia, add option to use open drivers 2025-02-23 14:40:00 -08:00
525f68172b
Services, refactor, clean up, service to automatic
Move service to automatic since it has a separate purpose.

Refactor the default.nix code to include service.nix files so it is
easier to extend code.
2024-11-29 02:09:23 -08:00
91e5b47a8f
Hosts, add wheel and network group management 2024-11-28 14:18:11 -08:00
d994e11918
System, dynamic users for host, removes user.name
adds a new specialArg to hosts: usernameList, which is a list of users
determined through user/user.nix in the host/hostname dir.

This touches syncthing, tuigreet, jibril, shells, and system

removes the user.name field, and converts user.timezone to
system.timezone. This is to move user content off of the host.

This old system is replaced with dynamic user creation based on the
usernameList variable

Because this removes the users.users.defaultUser shells now use the
(more appropriate) users.defaultUserShell
2024-11-28 13:55:44 -08:00
6124a298eb
System, get hostname from directory structure 2024-11-25 13:21:06 -08:00
32629f1ef6
Nvidia, remove deprecated driSupport32Bit 2024-11-08 10:12:45 -08:00
7de3d0c3c7
Wireless, host specified networks 2024-11-07 14:59:12 -08:00
5186992f88
Sops, add user secret management 2024-11-07 14:58:37 -08:00
5c256edcb3
Flake update 2024-07-14 2024-07-14 04:05:22 -07:00
d524f7c068
Hypr, fix cachix support 2024-07-14 04:04:58 -07:00
e012172298 Nvidia, switch to beta, enable fbdev 2024-05-26 17:25:02 -07:00
172da40e61 Tablet, add opentabletdrivers 2024-05-26 17:05:34 -07:00
29928610bf Nvidia, add opencl icd and runtime 2024-04-18 15:41:58 -07:00
7167c10484 make nix use xdg-standard 2024-04-16 00:26:29 -07:00
f5f76fdb0e Fix not importning inputs 2024-04-13 18:33:30 -07:00
4135d53c14 Add autoupgrade option, enable in onizuka 2024-04-13 18:32:38 -07:00
9ee7e4279c Add nerdfont icon support 2024-04-10 15:37:33 -07:00
a43df02076 Fix errors so system builds 2024-04-09 00:00:42 -07:00
73142b1bdf Fix imports in refactor 2024-04-07 17:14:00 -07:00
cc95386f1a Refactor modules style 2024-04-07 17:08:48 -07:00