mirror of
https://github.com/Jokiller230/puzzlevision.git
synced 2025-09-09 20:30:05 +00:00
🚧 Update user configuration loading and use formatter
This commit is contained in:
parent
cd32ad1c61
commit
54edba0070
12 changed files with 83 additions and 146 deletions
|
@ -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
|
||||
];
|
||||
}
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -1,10 +1,12 @@
|
|||
{
|
||||
lib,
|
||||
inputs,
|
||||
self,
|
||||
inputs,
|
||||
...
|
||||
}: {
|
||||
imports = [ inputs.easy-hosts.flakeModule ];
|
||||
imports = [
|
||||
inputs.easy-hosts.flakeModule
|
||||
];
|
||||
|
||||
easyHosts = {
|
||||
autoConstruct = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue