refactor os configurations
All checks were successful
Build iso when a new version is pushed / test (push) Successful in 2m10s
All checks were successful
Build iso when a new version is pushed / test (push) Successful in 2m10s
This commit is contained in:
24
osConfigs/os.nix
Normal file
24
osConfigs/os.nix
Normal file
@ -0,0 +1,24 @@
|
||||
# **************************************************************************** #
|
||||
# #
|
||||
# ::: :::::::: #
|
||||
# os.nix :+: :+: :+: #
|
||||
# +:+ +:+ +:+ #
|
||||
# By: tomoron <tomoron@student.42angouleme.fr> +#+ +:+ +#+ #
|
||||
# +#+#+#+#+#+ +#+ #
|
||||
# Created: 2025/09/06 00:56:36 by tomoron #+# #+# #
|
||||
# Updated: 2025/09/06 00:56:37 by tomoron ### ########.fr #
|
||||
# #
|
||||
# **************************************************************************** #
|
||||
|
||||
{ lib, flakeName, ... }:
|
||||
|
||||
{
|
||||
imports = lib.concatLists [
|
||||
[ ./hardware-configuration.nix ]
|
||||
(lib.fileset.toList ./global)
|
||||
(lib.fileset.toList ./modules)
|
||||
];
|
||||
|
||||
system.stateVersion = "25.05";
|
||||
environment.etc.nixosFlakeName.text = "${flakeName}";
|
||||
}
|
Reference in New Issue
Block a user