From bf126b5e1ae5cbab3b62c00bbff614a23539e431 Mon Sep 17 00:00:00 2001 From: adikro Date: Sun, 12 Apr 2026 23:47:47 +0200 Subject: finalized client configs for tor, i2pd and yggdrasil --- os/core/default.nix | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 os/core/default.nix (limited to 'os/core/default.nix') diff --git a/os/core/default.nix b/os/core/default.nix new file mode 100644 index 0000000..160e67b --- /dev/null +++ b/os/core/default.nix @@ -0,0 +1,36 @@ +{ config, lib, ... }: +let + cfg = config.os.core; +in +{ + imports = [ + ./audio.nix + ./bootloader.nix + ./drivers.nix + ./fonts.nix + ./greet.nix + ./home-manager.nix + ./localization.nix + ./memory.nix + ./networking.nix + ./power.nix + ./security.nix + ./ssh.nix + ./storage.nix + ./users.nix + ]; + + options.os.core = { + allowUnfree.enable = lib.mkEnableOption "unfree software"; + flatpak.enable = lib.mkEnableOption "Flatpak support"; + }; + + config = lib.mkMerge [ + (lib.mkIf cfg.allowUnfree.enable { + nixpkgs.config.allowUnfree = true; + }) + (lib.mkIf cfg.flatpak.enable { + services.flatpak.enable = true; + }) + ]; +} -- cgit v1.3