Reorganize configuration and prep for flakes

This commit is contained in:
Vili Sinervä 2025-06-01 14:15:50 +03:00
parent 78439054dd
commit dea7fcbf96
Signed by: Vili Sinervä
SSH key fingerprint: SHA256:FladqYjaE4scJY3Hi+gnShZ6ygnTJgixy0I6BAoHyos
19 changed files with 250 additions and 95 deletions

View file

@ -1,12 +1,10 @@
{
pkgs,
lib,
inputs,
nixpkgs,
...
}:
{
imports = [ /etc/nixos/hardware-configuration.nix ];
options.custom.gua_pref = lib.mkOption {
type = with lib.types; nullOr (strMatching "^[0-9a-zA-Z:]+$");
default = null;
@ -148,7 +146,7 @@
nix = {
registry = {
nixpkgs.flake = inputs.nixpkgs;
nixpkgs.flake = nixpkgs;
};
settings = {
experimental-features = [