Live: Tweak a bit.

This commit is contained in:
Dmitry Voronin 2025-01-19 09:25:14 +03:00
parent b8ae93752f
commit ddd9342a30
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k
6 changed files with 8 additions and 14 deletions

2
.gitignore vendored
View file

@ -1 +1 @@
/live /iso

View file

@ -52,15 +52,12 @@ install-hm:
nix-channel --update nix-channel --update
nix-shell '<home-manager>' -A install nix-shell '<home-manager>' -A install
.PHONY: installer
installer: installer:
nix build -o installer $(options) $(flake)#nixosConfigurations.installer.config.system.build.isoImage nix build -o iso/installer $(options) $(flake)#nixosConfigurations.installer.config.system.build.isoImage
.PHONY: isolation
isolation: isolation:
nix build -o isolation $(options) $(flake)#nixosConfigurations.isolation.config.system.build.isoImage nix build -o iso/isolation $(options) $(flake)#nixosConfigurations.isolation.config.system.build.isoImage
.PHONY: live
live: live:
nix build -o iso/live $(options) $(flake)#nixosConfigurations.live.config.system.build.isoImage nix build -o iso/live $(options) $(flake)#nixosConfigurations.live.config.system.build.isoImage
@ -70,9 +67,8 @@ no-nixconf:
reboot: boot reboot: boot
reboot reboot
.PHONY: recovery
recovery: recovery:
nix build -o recovery $(options) $(flake)#nixosConfigurations.recovery.config.system.build.isoImage nix build -o iso/recovery $(options) $(flake)#nixosConfigurations.recovery.config.system.build.isoImage
show: show:
nix flake show nix flake show

View file

@ -4,7 +4,7 @@ let
in in
{ {
config = lib.mkIf cfg.enable { config = lib.mkIf cfg.enable {
services.rogue.enable = true; # services.rogue.enable = true; # NOTE: Not available smh.
services.mingetty = { services.mingetty = {
autologinUser = "live"; autologinUser = "live";
helpLine = '' helpLine = ''

View file

@ -3,7 +3,7 @@ let
dpiAware = if config.module.display.dpiAware then "yes" else "no"; dpiAware = if config.module.display.dpiAware then "yes" else "no";
in in
{ {
file = (pkgs.formats.ini { }).generate "FuzzelConfig" { file = (pkgs.formats.ini { }).generate "fuzzel-config" {
main = { main = {
dpi-aware = dpiAware; dpi-aware = dpiAware;
font = "Minecraftia:size=${toString config.module.style.font.size.popup}"; font = "Minecraftia:size=${toString config.module.style.font.size.popup}";

View file

@ -4,11 +4,8 @@
module = { module = {
purpose = { purpose = {
live = true;
};
package = {
common = true;
desktop = true; desktop = true;
live = true;
}; };
}; };
} }

View file

@ -1,4 +1,5 @@
{ {
inputs,
pkgs, pkgs,
pkgsMaster, pkgsMaster,
pkgsUnstable, pkgsUnstable,