Use nixpkgs.config.allowUnfreePredicate

+removed unused apps
This commit is contained in:
Emile Clark-Boman 2025-07-19 23:24:33 +10:00
parent 1b09aac8fc
commit a5631ee6f9
5 changed files with 37 additions and 212 deletions

View file

@ -14,26 +14,15 @@
inputs.nixpkgs.follows = "nixpkgs";
};
nixcord.url = "github:kaylorben/nixcord";
grub2-themes.url = "github:vinceliuice/grub2-themes";
# is this necessary? (aren't I enabling it in `configuration.nix` anyways?)
hyprland.url = "github:hyprwm/Hyprland";
hyprpanel = {
url = "github:Jas-SinghFSU/HyprPanel";
#inputs.nixpkgs.follows = "nixpkgs";
};
swww.url = "github:LGFae/swww";
# TODO: declarative flatpak management
nix-flatpak.url = "github:gmodena/nix-flatpak/?ref=v0.4.1";
ags.url = "github:Aylur/ags";
# colmena.url = "github:zhaofengli/colmena";
colmena.url = "github:zhaofengli/colmena/?rev=47b6414d800c8471e98ca072bc0835345741a56a";
};
@ -43,8 +32,6 @@
#home-manager,
hyprland,
grub2-themes,
nixcord,
hyprpanel,
colmena,
...
} @ inputs: let
@ -53,11 +40,8 @@
pkgs = import nixpkgs {
inherit system;
config = {
allowUnfree = true;
allowUnfree = false; # sanity check
};
overlays = [
inputs.hyprpanel.overlay
];
};
# TODO: come back to this its really cool
@ -75,7 +59,7 @@
# i be on my puter fr
myputer = nixpkgs.lib.nixosSystem {
# nix passes these to every single module
specialArgs = {inherit inputs pkgs;};
specialArgs = {inherit inputs;};
modules = [
./hosts/myputer
@ -85,7 +69,7 @@
# my laptop 0w0
lolcathost = nixpkgs.lib.nixosSystem {
specialArgs = {inherit inputs pkgs;};
specialArgs = {inherit inputs;};
modules = [
./hosts/lolcathost
@ -97,7 +81,6 @@
# remote deployment to my servers!!
colmenaHive = colmena.lib.makeHive {
meta = {
# set nixpkgs global
nixpkgs = pkgs;
# set nixpkgs per server
nodeNixpkgs = {
@ -106,9 +89,6 @@
config.allowUnfree = false;
};
};
# we can use `specialArgs.inputs` to inject wishlist into hyrule's module
#specialArgs.inputs = with inputs; {inherit wishlist;};
};
# meine vps