feat: cleaned up some stuff

This commit is contained in:
Nick 2025-02-18 21:06:45 -06:00
parent a5996792ce
commit b8c25f618e
11 changed files with 51 additions and 49 deletions

20
systems/saturn/default.nix Executable file
View file

@ -0,0 +1,20 @@
{
lib,
...
}:
let
configPath = ./config;
saturnImports =
let
files = builtins.attrNames (builtins.readDir configPath);
in
map (name: configPath + "/${name}") (
builtins.filter (name: builtins.match ".*\\.nix$" name != null) files
);
in
{
imports = saturnImports;
nixpkgs.hostPlatform = lib.mkForce "x86_64-linux";
system.stateVersion = lib.mkForce "24.05";
}