feat(packages): explicitely allow unfree packages instead of global
wildcard
This commit is contained in:
@@ -1 +0,0 @@
|
|||||||
{ allowUnfree = true; }
|
|
||||||
15
home.nix
15
home.nix
@@ -1,4 +1,4 @@
|
|||||||
{ pkgs, ... }:
|
{ pkgs, lib, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
home.stateVersion = "22.05";
|
home.stateVersion = "22.05";
|
||||||
@@ -6,6 +6,19 @@
|
|||||||
home.file.".i3status.conf".source = ./files/.i3status.conf;
|
home.file.".i3status.conf".source = ./files/.i3status.conf;
|
||||||
home.file.".config/traefik/traefik.toml".source = ./files/traefik.toml;
|
home.file.".config/traefik/traefik.toml".source = ./files/traefik.toml;
|
||||||
|
|
||||||
|
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
|
||||||
|
"1password" "1password-cli"
|
||||||
|
|
||||||
|
"ngrok"
|
||||||
|
"postman"
|
||||||
|
"vscode"
|
||||||
|
|
||||||
|
"google-chrome-beta"
|
||||||
|
"slack"
|
||||||
|
"spotify" "spotify-unwrapped"
|
||||||
|
"zoom"
|
||||||
|
];
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
wget
|
wget
|
||||||
curl
|
curl
|
||||||
|
|||||||
@@ -76,9 +76,6 @@
|
|||||||
};
|
};
|
||||||
home-manager.users.pierre = import /home/pierre/dotfiles/home.nix;
|
home-manager.users.pierre = import /home/pierre/dotfiles/home.nix;
|
||||||
|
|
||||||
# Allow unfree packages
|
|
||||||
nixpkgs.config.allowUnfree = true;
|
|
||||||
|
|
||||||
# List packages installed in system profile. To search, run:
|
# List packages installed in system profile. To search, run:
|
||||||
# $ nix search wget
|
# $ nix search wget
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
|
|||||||
Reference in New Issue
Block a user