diff options
| author | EuAndreh <eu@euandre.org> | 2022-01-04 15:15:37 -0300 |
|---|---|---|
| committer | EuAndreh <eu@euandre.org> | 2022-01-04 15:15:37 -0300 |
| commit | 2503b41d56ed7d7505e5142c1ea02c280e7fafb8 (patch) | |
| tree | a74c110796db0517f511a24d43f9f98a4d241a2e | |
| parent | configuration.nix: Simplify how cron logs are captured and reported (diff) | |
| download | dotfiles-2503b41d56ed7d7505e5142c1ea02c280e7fafb8.tar.gz dotfiles-2503b41d56ed7d7505e5142c1ea02c280e7fafb8.tar.xz | |
configuration.nix: Better split between work and personal packages
| -rw-r--r-- | configuration.nix | 25 |
1 files changed, 21 insertions, 4 deletions
diff --git a/configuration.nix b/configuration.nix index 2d0ed490..21f66497 100644 --- a/configuration.nix +++ b/configuration.nix @@ -6,6 +6,22 @@ # $ doas nix-channel --rollback let + work = { + packages = with pkgs; { + proprietary = [ + slack + zoom-us + openfortivpn + skype + chromium + ]; + libre = [ + yubioath-desktop + clojure # =clj= + ]; + }; + config = { + yubioauth-support = true; }; }; in { @@ -275,7 +291,7 @@ in { ## Candidates to be replaced by alternatives transmission-gtk # https://github.com/btpd/btpd tdesktop # telegram -> gomuks - ] ++ proprietaryPackages ++ nu-packages; + ] ++ work.packages.libre ++ work.packages.proprietary; etc = { "with-email.sh".text = '' @@ -312,10 +328,11 @@ in { }; }; - nixpkgs = { + nixpkgs = let allow-unfree = builtins.length work.packages.proprietary > 0; + in { config = { - android_sdk.accept_license = allowUnfree; - allowUnfree = allowUnfree; + android_sdk.accept_license = allow-unfree; + allowUnfree = allow-unfree; }; overlays = let version = "main"; |
