Make use of Nix profiles

This commit is contained in:
Jimbo 2025-02-28 19:13:03 -05:00
parent e6bd37c5d4
commit 82df5189d6
9 changed files with 26 additions and 46 deletions

View file

@ -1,7 +1,7 @@
{ ... }:
{
imports = [
./minimal
./modules
./nix
./timezone
];

View file

@ -1,21 +0,0 @@
{ ... }:
{
environment = {
defaultPackages = [ ];
stub-ld.enable = false;
};
documentation = {
doc.enable = false;
info.enable = false;
nixos.enable = false;
};
programs = {
nano.enable = false;
less.lessopen = null;
command-not-found.enable = false;
};
services.logrotate.enable = false;
}

View file

@ -0,0 +1,8 @@
{ modulesPath, ... }:
{
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
(modulesPath + "/profiles/minimal.nix")
(modulesPath + "/profiles/headless.nix")
];
}