From 633f07d12e07d38516b00f4efc25e953a475096d Mon Sep 17 00:00:00 2001 From: Lillian-Violet Date: Wed, 20 Mar 2024 19:46:42 +0100 Subject: [PATCH] Some iso fixes --- flake.nix | 1 + nixos/hosts/iso/configuration.nix | 11 +++++++++++ 2 files changed, 12 insertions(+) diff --git a/flake.nix b/flake.nix index 13ef2c0..0f6f07e 100644 --- a/flake.nix +++ b/flake.nix @@ -182,6 +182,7 @@ }; ISO = nixpkgs.lib.nixosSystem { + system = "x86_64-linux"; specialArgs = {inherit inputs outputs;}; modules = [ "${nixpkgs}/nixos/modules/installer/cd-dvd/installation-cd-graphical-calamares-plasma6.nix" diff --git a/nixos/hosts/iso/configuration.nix b/nixos/hosts/iso/configuration.nix index 3f4d419..c3393fb 100644 --- a/nixos/hosts/iso/configuration.nix +++ b/nixos/hosts/iso/configuration.nix @@ -122,6 +122,17 @@ # Enable completion of system packages by zsh environment.pathsToLink = ["/share/zsh"]; + # kde power settings do not turn off screen + systemd = { + services.sshd.wantedBy = pkgs.lib.mkForce ["multi-user.target"]; + targets = { + sleep.enable = false; + suspend.enable = false; + hibernate.enable = false; + hybrid-sleep.enable = false; + }; + }; + home-manager = { extraSpecialArgs = {inherit inputs outputs;}; users = {