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 untrusted user: teutat3s
GPG key ID: 4FA1D3FA524F22C1
2 changed files with 8 additions and 10 deletions

View file

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

View file

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