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/core.nix | 36 ------------------------------------ os/core/default.nix | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+), 36 deletions(-) delete mode 100644 os/core/core.nix create mode 100644 os/core/default.nix (limited to 'os/core') diff --git a/os/core/core.nix b/os/core/core.nix deleted file mode 100644 index 160e67b..0000000 --- a/os/core/core.nix +++ /dev/null @@ -1,36 +0,0 @@ -{ 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; - }) - ]; -} 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