diff options
author | EuAndreh <eu@euandre.org> | 2023-02-18 10:38:47 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2023-02-18 10:38:47 -0300 |
commit | 9ae41d78aa75e694ed7f1ce608f221d4c7172557 (patch) | |
tree | c488b4e210bee502003690faa49b02b4ee0e097c | |
parent | etc/nix/configuration.nix: Remove unused packages (diff) | |
download | dotfiles-9ae41d78aa75e694ed7f1ce608f221d4c7172557.tar.gz dotfiles-9ae41d78aa75e694ed7f1ce608f221d4c7172557.tar.xz |
etc/nix/configuration.nix: Inline list in work.packages.proprietary
-rw-r--r-- | etc/nix/configuration.nix | 22 |
1 files changed, 7 insertions, 15 deletions
diff --git a/etc/nix/configuration.nix b/etc/nix/configuration.nix index 68d79a5..446f062 100644 --- a/etc/nix/configuration.nix +++ b/etc/nix/configuration.nix @@ -5,16 +5,7 @@ # # $ doas nix-channel --rollback -let - work = { - packages = with pkgs; { - proprietary = [ - slack - zoom-us - ]; - }; - }; -in { +{ imports = [ /etc/nixos/hardware-configuration.nix ]; # Use the systemd-boot EFI boot loader. @@ -96,17 +87,18 @@ in { in with pkgs; [ + slack + zoom-us kubernetes flutter2 hover - ] ++ work.packages.proprietary; + ]; }; - nixpkgs = let allow-unfree = builtins.length work.packages.proprietary > 0; - in { + nixpkgs = { config = { - android_sdk.accept_license = allow-unfree; - allowUnfree = allow-unfree; + android_sdk.accept_license = true; + allowUnfree = true; }; }; |