From 7a372ed81256ce5d6aa608be9bebe173ab4e042e Mon Sep 17 00:00:00 2001 From: sefidel Date: Tue, 18 Jan 2022 17:38:31 +0900 Subject: project: rewrite --- home/modules/profiles/default.nix | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 home/modules/profiles/default.nix (limited to 'home/modules/profiles/default.nix') diff --git a/home/modules/profiles/default.nix b/home/modules/profiles/default.nix deleted file mode 100644 index af9d9a8..0000000 --- a/home/modules/profiles/default.nix +++ /dev/null @@ -1,13 +0,0 @@ -{ config, lib, ... }: -let - profileEnabler = - let - reducer = l: r: { "${r}".enable = true; } // l; - in - builtins.foldl' reducer { } config.activeProfiles; -in -{ - options.activeProfiles = lib.mkOption { type = lib.types.listOf lib.types.str; }; - - config.profiles = profileEnabler; -} -- cgit 1.4.1