refactor(machine): bind system and use inputs.* for packages

This commit is contained in:
elwrcl committed 2026-04-16 23:25:05 +03:00
1 parent 44099f42ce
commit 8a4f9d01df
1 file changed
+2 -14
+2 -14
View File
@@ -1,12 +1,11 @@
{ {
pkgs, pkgs,
inputs, inputs,
system,
zen-browser,
... ...
}: }:
let let
packages = import ./packages.nix { inherit pkgs; }; packages = import ./packages.nix { inherit pkgs; };
system = pkgs.system;
in in
{ {
imports = [ imports = [
@@ -25,7 +24,7 @@ in
environment.systemPackages = packages.system ++ [ environment.systemPackages = packages.system ++ [
inputs.helium.packages.${system}.default inputs.helium.packages.${system}.default
zen-browser.packages.${system}.default inputs.zen-browser.packages.${system}.default
inputs.noctalia.packages.${system}.default inputs.noctalia.packages.${system}.default
inputs.copetch.packages.${system}.default inputs.copetch.packages.${system}.default
]; ];
@@ -35,15 +34,4 @@ in
"/share/icons" "/share/icons"
"/share/mime" "/share/mime"
]; ];
fonts = {
packages = with pkgs; [
nerd-fonts.jetbrains-mono
nerd-fonts.caskaydia-cove
noto-fonts-cjk-sans
inputs.apple-fonts.packages.${system}.sf-pro
inputs.apple-fonts.packages.${system}.sf-mono
];
fontDir.enable = true;
};
} }