refactor: small changes and update ff addons

This commit is contained in:
matt1432 2024-01-16 23:51:28 -05:00
parent 8a8ea40101
commit cf60a45c4c
5 changed files with 17 additions and 8 deletions
devices
binto/modules
servivi/modules/arion

View file

@ -3,6 +3,8 @@
pkgs,
...
}: {
# FIXME: move this to hardware-config?
# Enable OpenGL
hardware.opengl = {
enable = true;

View file

@ -8,7 +8,7 @@
} @ inputs:
with lib;
with builtins; let
inherit (config.vars) mainUser;
inherit (config.vars) mainUser hostName;
configPath = "/var/lib/arion";
in {
imports = [arion.nixosModules.arion];
@ -58,7 +58,7 @@ in {
backend = "docker";
projects = let
basePath = "${self}/devices/${config.vars.hostName}/modules/arion";
basePath = "${self}/devices/${hostName}/modules/arion";
composeFiles =
filter (n: hasSuffix "compose.nix" (toString n))