iso: use iso suite in PubSolarOS host

fae: boots PubSolarOS
This commit is contained in:
teutat3s 2022-01-31 17:47:45 +01:00
parent 0cf1c0e9b0
commit 1d2eb2edd0
Signed by: teutat3s
GPG key ID: 4FA1D3FA524F22C1
2 changed files with 8 additions and 10 deletions

View file

@ -73,6 +73,8 @@
channelsConfig = { allowUnfree = true; };
supportedSystems = [ "x86_64-linux" "aarch64-linux" ];
channels = {
nixos = {
imports = [ (digga.lib.importOverlays ./overlays) ];
@ -128,6 +130,7 @@
};
suites = with profiles; rec {
base = [ core users.pub-solar users.root ];
iso = base ++ [ base-user graphical pub-solar-iso ];
pubsolaros = [ core full-install base-user users.root ];
anonymous = [ pubsolaros users.pub-solar ];
};

View file

@ -1,15 +1,10 @@
{ profiles, ... }:
{ suites, ... }:
{
### root password is empty by default ###
imports = [
# profiles.networking
profiles.core
profiles.users.root # make sure to configure ssh keys
profiles.users.pub-solar
profiles.base-user
profiles.graphical
profiles.pub-solar-iso
];
### default password: pub-solar, optional: add your SSH keys
imports =
suites.iso
;
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;