🚧 Update user configuration loading and use formatter

This commit is contained in:
Jo 2025-04-26 23:08:11 +02:00
parent cd32ad1c61
commit 54edba0070
12 changed files with 83 additions and 146 deletions

View file

@ -6,13 +6,7 @@
# Automagically imports libs from "/lib/lib-name" and exposes them to the `flake.lib` output.
./lib.nix
# Recursively imports overlays from "/overlays/overlay-name" and exposes them to the `flake.overlays` output.
#./overlays.nix
# Automagically imports systems from "/systems/arch-classname/system-name".
./systems.nix
# Automagically imports homes from "/homes/user-name".
#./homes.nix
];
}

View file

@ -1,10 +1,10 @@
{ self, ... }:
{
{self, ...}: {
flake = {
#nixosModules.puzzlevision = self.lib.mkModule {
# class = "nixos";
# modules = self.lib.dirToModuleList ../nixos;
#};
# TODO: figure out why this isn't working correctly
nixosModules.puzzlevision = self.lib.mkModule {
class = "nixos";
modules = self.lib.dirToModuleList ../nixos;
};
homeModules.puzzlevision = self.lib.mkModule {
class = "home";

View file

@ -1,10 +1,12 @@
{
lib,
inputs,
self,
inputs,
...
}: {
imports = [ inputs.easy-hosts.flakeModule ];
imports = [
inputs.easy-hosts.flakeModule
];
easyHosts = {
autoConstruct = true;