Compare commits

..

No commits in common. "591346600fcee7c48be9a78ef2b4e326cd5f1938" and "2ba755c7d19e7ceca80091157d9e2716323abd6c" have entirely different histories.

7 changed files with 21 additions and 43 deletions

View file

@ -5,7 +5,6 @@
}: {
imports = [
./cava
./discord
./dunst
./mpv
./obs

View file

@ -1,15 +0,0 @@
{
pkgs,
...
}: {
nixpkgs.overlays = [
(final: prev: {
discord = prev.discord.override {withOpenASAR = true;};
})
];
home.packages = with pkgs; [
discord
betterdiscordctl
];
}

View file

@ -37,6 +37,14 @@
])
]); # https://github.com/theCapypara/nix-jetbrains-plugins
# Allow unfree packages for proprietary software
nixpkgs.config.allowUnfreePredicate = pkg:
builtins.elem (lib.getName pkg) [
"claude-code"
"idea-ultimate"
"idea-ultimate-with-plugins"
];
# Copy our configuration files to home directory
home.file = {
".ideavimrc".source = ./ideavimrc;

View file

@ -1,4 +1,4 @@
{outputs, lib, ...}: {
{outputs, ...}: {
imports = [
./zsh.nix
];
@ -11,19 +11,6 @@
];
config = {
allowUnfree = false;
# Centralized unfree package allowlist.
# Note: nixpkgs.config.allowUnfreePredicate doesn't merge across modules - only the
# last definition wins. To maintain explicit control over unfree packages, we list
# all allowed packages here rather than scattering predicates across feature modules.
allowUnfreePredicate = pkg:
builtins.elem (lib.getName pkg) [
# Editors
"claude-code"
"idea-ultimate"
"idea-ultimate-with-plugins"
# Desktop
"discord"
];
};
};

View file

@ -1,4 +1,4 @@
{outputs, lib, ...}: {
{outputs, ...}: {
imports = [
./age.nix
./env.nix
@ -15,18 +15,6 @@
];
config = {
allowUnfree = false;
# Centralized unfree package allowlist for NixOS system configuration.
# Note: nixpkgs.config.allowUnfreePredicate doesn't merge across modules - only the
# last definition wins. To maintain explicit control over unfree packages, we list
# all allowed packages here rather than scattering predicates across system modules.
allowUnfreePredicate = pkg:
builtins.elem (lib.getName pkg) [
# Gaming
"steam"
"steam-unwrapped"
# Services
"minecraft-server"
];
};
};

View file

@ -27,4 +27,10 @@
"d /home/sajenim/.local 0755 sajenim users -"
"d /home/sajenim/.local/share 0755 sajenim users -"
];
nixpkgs.config.allowUnfreePredicate = pkg:
builtins.elem (lib.getName pkg) [
"steam"
"steam-unwrapped"
];
}

View file

@ -116,4 +116,9 @@ in {
}
];
};
# Allow unfree packages.
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
"minecraft-server"
];
}