diff options
Diffstat (limited to 'os/core/core.nix')
| -rw-r--r-- | os/core/core.nix | 36 |
1 files changed, 0 insertions, 36 deletions
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; - }) - ]; -} |
