nix: stop using with

namespace pollution
This commit is contained in:
Léana 江 2024-04-23 19:05:53 +02:00 committed by Léana 江
parent 6877096a26
commit 10b33e5584
15 changed files with 132 additions and 125 deletions

View file

@ -20,10 +20,10 @@
options = "--delete-older-than 30d";
};
environment.systemPackages = with pkgs; [
vim
gnumake
gnused
cachix
environment.systemPackages = [
pkgs.vim
pkgs.gnumake
pkgs.gnused
pkgs.cachix
];
}

View file

@ -13,9 +13,9 @@
jack.enable = true;
};
environment.systemPackages = with pkgs; [
helvum
pavucontrol
easyeffects
environment.systemPackages = [
pkgs.helvum
pkgs.pavucontrol
pkgs.easyeffects
];
}

View file

@ -21,7 +21,7 @@
xserver.windowManager.xmonad = {
enable = true;
enableContribAndExtras = true;
extraPackages = hp: with hp; [ neat-interpolation ];
extraPackages = hp: [ hp.neat-interpolation ];
};
xserver.libinput = {

View file

@ -22,9 +22,9 @@
};
i18n.inputMethod.enabled = "fcitx5";
i18n.inputMethod.fcitx5.addons = with pkgs; [
fcitx5-chinese-addons
fcitx5-table-extra
i18n.inputMethod.fcitx5.addons = [
pkgs.fcitx5-chinese-addons
pkgs.fcitx5-table-extra
];
i18n.inputMethod.fcitx5.ignoreUserConfig = true;

View file

@ -1,9 +1,9 @@
{ pkgs, agenix, ... }:
{
environment.systemPackages = with pkgs; [
curl
stow
gcc
environment.systemPackages = [
pkgs.curl
pkgs.stow
pkgs.gcc
agenix
];

View file

@ -17,10 +17,10 @@
options = "--delete-older-than 30d";
};
environment.systemPackages = with pkgs; [
vim
gnumake
gnused
cachix
environment.systemPackages = [
pkgs.vim
pkgs.gnumake
pkgs.gnused
pkgs.cachix
];
}