summaryrefslogtreecommitdiff
path: root/sys/core/core.nix
diff options
context:
space:
mode:
authoradikro <adikro@disroot.org>2025-12-24 16:21:00 +0100
committeradikro <adikro@disroot.org>2025-12-24 16:21:00 +0100
commit6aaa5993e4c1cfb205ed555d958702f9bba1770d (patch)
tree3af8cf20967cf10542edd2e51232b1da70002fde /sys/core/core.nix
parent2ceabfd1d1dc03ca895e960048b73a82e29e45e8 (diff)
a bunch of changes, renames sys to os and refactored some of the logic
Diffstat (limited to 'sys/core/core.nix')
-rw-r--r--sys/core/core.nix46
1 files changed, 0 insertions, 46 deletions
diff --git a/sys/core/core.nix b/sys/core/core.nix
deleted file mode 100644
index 428d7ea..0000000
--- a/sys/core/core.nix
+++ /dev/null
@@ -1,46 +0,0 @@
-{ config, lib, pkgs, ... }:
-let
- cfg = config.sys.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
- ./storage.nix
- ./users.nix
- ];
-
- options.sys.core = {
- allowUnfree.enable = lib.mkEnableOption "unfree software";
-
- flatpak.enable = lib.mkEnableOption "Flatpak support";
-
- hardwareTools = {
- enable = lib.mkEnableOption "peripheral and thermal tools";
- };
- };
-
- config = lib.mkMerge [
- (lib.mkIf cfg.allowUnfree.enable {
- nixpkgs.config.allowUnfree = true;
- })
-
- (lib.mkIf cfg.flatpak.enable {
- services.flatpak.enable = true;
- })
-
- (lib.mkIf cfg.hardwareTools.enable {
- programs.coolercontrol.enable = true;
- environment.systemPackages = [ pkgs.rivalcfg ];
- })
- ];
-}