From 4b442b85223bf4e718db5ca917c17e4446144eb1 Mon Sep 17 00:00:00 2001 From: sefidel Date: Tue, 25 Jan 2022 18:08:24 +0900 Subject: home: make populator more obvious --- home/profiles/default.nix | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 home/profiles/default.nix (limited to 'home/profiles/default.nix') diff --git a/home/profiles/default.nix b/home/profiles/default.nix deleted file mode 100644 index af9d9a8..0000000 --- a/home/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