mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 08:53:56 -05:00
nifty import functions
This commit is contained in:
parent
9c85859e1f
commit
977d1ad6d2
17 changed files with 28 additions and 84 deletions
|
|
@ -1,5 +0,0 @@
|
|||
pkgs: {
|
||||
t-rex-miner = pkgs.callPackage ./t-rex-miner {};
|
||||
afk-cmds = pkgs.callPackage ./afk-cmds {};
|
||||
parrot = pkgs.callPackage ./parrot {};
|
||||
}
|
||||
|
|
@ -1,37 +0,0 @@
|
|||
_: {
|
||||
lib,
|
||||
modulesPath,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
"${modulesPath}/profiles/minimal.nix"
|
||||
"${modulesPath}/installer/cd-dvd/installation-cd-base.nix"
|
||||
];
|
||||
|
||||
environment = {
|
||||
noXlibs = lib.mkOverride 500 false;
|
||||
defaultPackages = [];
|
||||
systemPackages = with pkgs; [gitMinimal neovim];
|
||||
variables = {
|
||||
EDITOR = "nvim";
|
||||
};
|
||||
};
|
||||
documentation = {
|
||||
man.enable = lib.mkOverride 500 false;
|
||||
doc.enable = lib.mkOverride 500 false;
|
||||
};
|
||||
|
||||
fonts.fontconfig.enable = lib.mkForce false;
|
||||
|
||||
isoImage = {
|
||||
edition = lib.mkForce "gerg-minimal";
|
||||
isoName = lib.mkForce "NixOS.iso";
|
||||
};
|
||||
nix = {
|
||||
settings = {
|
||||
experimental-features = ["nix-command" "flakes" "repl-flake"];
|
||||
auto-optimise-store = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -1,5 +1,4 @@
|
|||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchzip,
|
||||
glibc,
|
||||
Loading…
Add table
Add a link
Reference in a new issue