From a631a5731ac0eb7821ad47dced590ad76bc13092 Mon Sep 17 00:00:00 2001 From: Kabbone Date: Mon, 2 Dec 2024 19:53:59 +0100 Subject: [PATCH] font: remove nerdfonts --- hosts/configuration_desktop.nix | 5 ----- hosts/configuration_server.nix | 5 ----- systemSettings.nix | 18 ++++++++++++++++++ 3 files changed, 18 insertions(+), 10 deletions(-) create mode 100644 systemSettings.nix diff --git a/hosts/configuration_desktop.nix b/hosts/configuration_desktop.nix index 01714f8..d1c55e4 100644 --- a/hosts/configuration_desktop.nix +++ b/hosts/configuration_desktop.nix @@ -74,11 +74,6 @@ corefonts # MS intel-one-mono cascadia-code - (nerdfonts.override { # Nerdfont Icons override - fonts = [ - "FiraCode" - ]; - }) ]; environment = { diff --git a/hosts/configuration_server.nix b/hosts/configuration_server.nix index dc233d4..58ecfa1 100644 --- a/hosts/configuration_server.nix +++ b/hosts/configuration_server.nix @@ -63,11 +63,6 @@ corefonts # MS intel-one-mono cascadia-code - (nerdfonts.override { # Nerdfont Icons override - fonts = [ - "FiraCode" - ]; - }) ]; environment = { diff --git a/systemSettings.nix b/systemSettings.nix new file mode 100644 index 0000000..d973b26 --- /dev/null +++ b/systemSettings.nix @@ -0,0 +1,18 @@ +# options for systemsettings +{ pkgs, lib, config, ... }: + +{ + options = { + systemSettings.enable = lib.mkEnableOption "enables standard systemsettings"; + }; + + config = lib.mkIf config.systemSettings.enable { + system = lib.mkDefault "x86_64-linux"; + profile = lib.mkDefault "personal"; + timezone = "Europe/Berlin"; + locale = "en_US.UTF-8"; + bootMode = lib.mkDefault "uefi"; + bootMountPath = "/boot"; + }; + +}