Skip to content

Commit

Permalink
fix: allow some necessary unfree packages
Browse files Browse the repository at this point in the history
  • Loading branch information
montchr committed May 31, 2024
1 parent 1e4b06f commit f5e55c6
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 1 deletion.
1 change: 1 addition & 0 deletions machines/tuvok/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
# support DP-Alt display output. DP-Alt output is required for true HDMI or
# DP output via one of this machine's two USB-C ports and zero HDMI/DP ports.
services.xserver.videoDrivers = [ "displaylink" ];
dotfield.nixpkgs.allowedUnfreePackages = [ "displaylink" ];

system.stateVersion = "23.11"; # Did you read the comment?
}
1 change: 1 addition & 0 deletions nixos/profiles/hardware/keyboard/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

hardware.keyboard.keyboardio.enable = true;

dotfield.nixpkgs.allowedUnfreePackages = [ "keymapp" ];
hardware.keyboard.zsa.enable = true;
environment.systemPackages = [
pkgs.keymapp
Expand Down
4 changes: 3 additions & 1 deletion nixos/profiles/hardware/printers-scanners/epson-wf-3520.nix
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,15 @@
# - utsushi (usb/scsi only)
#
# I have not tested USB scanning but I'm sure it's much more straightforward.
{ pkgs, ... }:
{ lib, pkgs, ... }:
let
ip = "192.168.1.192";
in
{
imports = [ ./common.nix ];

nixpkgs.config.allowlistedLicenses = [ lib.licenses.epson ];

hardware.sane.extraBackends = [
pkgs.epkowa

Expand Down
5 changes: 5 additions & 0 deletions nixos/profiles/one-password.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ let
isGraphical = config.services.xserver.enable;
in
{
dotfield.nixpkgs.allowedUnfreePackages = [
"1password-cli"
"1password"
];

home-manager.sharedModules = lib.singleton (
{ pkgs, ... }:
{
Expand Down

0 comments on commit f5e55c6

Please sign in to comment.