Add Lix-based NixOS installer ISO and interactive script
This commit is contained in:
commit
97c865d91b
7 changed files with 720 additions and 0 deletions
26
modules/system/base.nix
Normal file
26
modules/system/base.nix
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
time.timeZone = "UTC";
|
||||
|
||||
i18n.defaultLocale = "en_US.UTF-8";
|
||||
console.keyMap = "us";
|
||||
|
||||
nix.settings = {
|
||||
experimental-features = [ "nix-command" "flakes" ];
|
||||
substituters = lib.mkBefore [
|
||||
"https://cache.lix.systems"
|
||||
];
|
||||
trusted-public-keys = lib.mkBefore [
|
||||
"cache.lix.systems:aBnZUw8zA7H35Cz2RyKFVs3H4PlGTLawyY5KRbvJR8o="
|
||||
];
|
||||
};
|
||||
|
||||
services.openssh.enable = true;
|
||||
|
||||
networking.useDHCP = lib.mkDefault true;
|
||||
|
||||
boot.supportedFilesystems = [ "btrfs" "ext4" "vfat" "xfs" ];
|
||||
|
||||
system.stateVersion = "25.11";
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue