diff --git a/profiles/sway/autostart.nix b/profiles/sway/autostart.nix index 494fc81..bf814f5 100644 --- a/profiles/sway/autostart.nix +++ b/profiles/sway/autostart.nix @@ -8,12 +8,9 @@ in }; config = lib.mkIf cfg.enable { - - # start sway if login happens - environment.interactiveShellInit = '' - if test `tty` = /dev/tty1; then - exec sway - fi - ''; + services.displayManager.lemurs = { + enable = true; + settings.environment_switcher.include_tty_shell = true; + }; }; } diff --git a/profiles/usb-iso/default.nix b/profiles/usb-iso/default.nix index 2ce961a..b5054eb 100644 --- a/profiles/usb-iso/default.nix +++ b/profiles/usb-iso/default.nix @@ -15,7 +15,7 @@ in config = lib.mkIf cfg.enable { # binary blobs are needed for ventoy nixpkgs.config.permittedInsecurePackages = [ - "ventoy-1.1.07" + "ventoy-${pkgs.ventoy.version}" ]; environment.systemPackages = with pkgs; [ ventoy-full # general