rename base-packages to installed-packages
This commit is contained in:
parent
d0ed46d044
commit
ff781440d2
@ -10,7 +10,7 @@
|
||||
then builtins.currentSystem
|
||||
else "x86_64-linux";
|
||||
pkgs = import nixpkgs { inherit system; };
|
||||
basePackages = (import ./base-packages { inherit pkgs; });
|
||||
installedPackages = (import ./installed-packages { inherit pkgs; });
|
||||
in
|
||||
{
|
||||
nixosConfigurations = {
|
||||
@ -23,11 +23,11 @@
|
||||
system.stateVersion = "24.05";
|
||||
wsl.enable = true;
|
||||
nix.settings.experimental-features = ["nix-command" "flakes" ];
|
||||
environment.systemPackages = basePackages.mkBasePackages.packages [
|
||||
environment.systemPackages = [
|
||||
pkgs.wget
|
||||
pkgs.git
|
||||
pkgs.curl
|
||||
];
|
||||
]++installedPackages.mkBasePackages.packages;
|
||||
programs.nix-ld = {
|
||||
enable = true;
|
||||
package = pkgs.nix-ld-rs;
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
{ lib, pkgs }:
|
||||
{ pkgs }:
|
||||
{
|
||||
mkBasePackages = {
|
||||
inherit pkgs;
|
||||
Loading…
x
Reference in New Issue
Block a user