mirror of
https://github.com/elwrcl/copnix.git
synced 2026-10-31 14:28:02 +03:00
refactor(machine): bind system and use inputs.* for packages
This commit is contained in:
1 parent
44099f42ce
commit
8a4f9d01df
1 file changed
+2
-14
+2
-14
@@ -1,12 +1,11 @@
|
||||
{
|
||||
pkgs,
|
||||
inputs,
|
||||
system,
|
||||
zen-browser,
|
||||
...
|
||||
}:
|
||||
let
|
||||
packages = import ./packages.nix { inherit pkgs; };
|
||||
system = pkgs.system;
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
@@ -25,7 +24,7 @@ in
|
||||
|
||||
environment.systemPackages = packages.system ++ [
|
||||
inputs.helium.packages.${system}.default
|
||||
zen-browser.packages.${system}.default
|
||||
inputs.zen-browser.packages.${system}.default
|
||||
inputs.noctalia.packages.${system}.default
|
||||
inputs.copetch.packages.${system}.default
|
||||
];
|
||||
@@ -35,15 +34,4 @@ in
|
||||
"/share/icons"
|
||||
"/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;
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user