fix: cleanup!
This commit is contained in:
parent
4880ce65ae
commit
bf19849309
7 changed files with 53 additions and 65 deletions
23
system_profiles/defaults.nix
Normal file
23
system_profiles/defaults.nix
Normal file
|
@ -0,0 +1,23 @@
|
|||
{
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
nix.settings.experimental-features = lib.mkDefault ["nix-command" "flakes"];
|
||||
|
||||
# Disable if you don't want unfree packages
|
||||
nixpkgs.config.allowUnfree = lib.mkDefault true;
|
||||
|
||||
nix = {
|
||||
# https://lix.systems/ Lix is a modern, delicious implementation of the Nix package manager,
|
||||
# focused on correctness, usability, and growth –
|
||||
# and committed to doing right by its community.
|
||||
package = lib.mkDefault pkgs.lix;
|
||||
|
||||
channel.enable = lib.mkDefault false;
|
||||
};
|
||||
|
||||
imports = [
|
||||
../modules/locale.nix
|
||||
];
|
||||
}
|
|
@ -1,10 +1,13 @@
|
|||
{
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
./mini.nix
|
||||
|
||||
{
|
||||
boot.isContainer = true;
|
||||
boot.kernel.enable = false;
|
||||
boot.isContainer = lib.mkDefault true;
|
||||
boot.kernel.enable = lib.mkDefault false;
|
||||
}
|
||||
];
|
||||
}
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
{
|
||||
lib,
|
||||
modulesPath,
|
||||
...
|
||||
}: {
|
||||
|
@ -7,10 +8,14 @@
|
|||
(modulesPath + "/profiles/perlless.nix")
|
||||
|
||||
{
|
||||
boot.isContainer = true;
|
||||
boot.kernel.enable = false;
|
||||
environment.defaultPackages = [];
|
||||
nixpkgs.overlays = [(self: super: {})];
|
||||
environment.defaultPackages = lib.mkDefault [];
|
||||
nixpkgs.overlays = lib.mkDefault [(self: super: {})];
|
||||
|
||||
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
||||
# (the default) this is the recommended approach. When using systemd-networkd it's
|
||||
# still possible to use this option, but it's recommended to use it in conjunction
|
||||
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
|
||||
networking.useDHCP = lib.mkDefault true;
|
||||
}
|
||||
];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue