refactor some things, might have broken everything

This commit is contained in:
2026-06-15 02:21:03 +02:00
parent 73e25a00b6
commit 08a5db8508
61 changed files with 1013 additions and 1103 deletions

View File

@ -6,21 +6,22 @@
# By: tomoron <tomoron@student.42angouleme.fr> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2025/09/06 00:56:36 by tomoron #+# #+# #
# Updated: 2026/05/31 15:39:42 by tomoron ### ########.fr #
# Updated: 2026/06/14 18:56:12 by tomoron ### ########.fr #
# #
# **************************************************************************** #
{ lib, flakeName, ... }:
{ lib, flakeName, minimal, ... }:
{
imports = lib.concatLists [
imports = (lib.concatLists [
[ ./hardware-configuration.nix ]
(lib.fileset.toList ./global)
(lib.fileset.toList ./modules)
];
])
++ (lib.lists.optionals minimal (lib.fileset.toList ./global/minimal))
++ (lib.lists.optionals (!minimal) (lib.fileset.toList ./global));
system.stateVersion = "25.05";
system.stateVersion ="25.05";
environment.etc.nixosFlakeName.text = "${flakeName}";
catppuccin.autoEnable = false;
}