From f5efe9a4d49c508b0952b8e45c791aa1fd2f9fe8 Mon Sep 17 00:00:00 2001 From: Ingolf Wagner Date: Mon, 14 Aug 2023 09:52:48 +0200 Subject: [PATCH] fix sternchen --- flake.nix | 3 ++- nixos/machines/sternchen/configuration.nix | 4 +++- nixos/machines/sternchen/hardware-configuration.nix | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/flake.nix b/flake.nix index 0fe6ce9..95eafd3 100644 --- a/flake.nix +++ b/flake.nix @@ -176,7 +176,7 @@ modules = modules ++ defaultModules ++ [ { _module.args.nixinate = { - host = "${name}.private"; + host = host; sshUser = "root"; buildOn = "remote"; # valid args are "local" or "remote" substituteOnTarget = false; # if buildOn is "local" then it will substitute on the target, "-s" @@ -283,6 +283,7 @@ { sternchen = nixosConfigurationSetup { name = "sternchen"; + host = "sternchen.secret"; modules = [ nixos-hardware.nixosModules.lenovo-thinkpad-x220 #retiolum.nixosModules.retiolum diff --git a/nixos/machines/sternchen/configuration.nix b/nixos/machines/sternchen/configuration.nix index aa2d6cd..4239e33 100644 --- a/nixos/machines/sternchen/configuration.nix +++ b/nixos/machines/sternchen/configuration.nix @@ -16,13 +16,15 @@ networking.hostName = "sternchen"; components.gui.enable = true; + components.gui.kmonad.enable = false; + components.terminal.enable = true; components.network.enable = true; components.network.wifi.enable = true; components.mainUser.enable = true; users.users.mainUser.extraGroups = [ "adbusers" "video" ]; home-manager.users.mainUser.home.git-pull.enable = false; - users.users.mainUser.name = "tina"; + users.users.mainUser.name = lib.mkForce "tina"; #system.custom.wifi.interfaces = [ "wlp3s0" ]; diff --git a/nixos/machines/sternchen/hardware-configuration.nix b/nixos/machines/sternchen/hardware-configuration.nix index 7a5a1e1..c07609d 100644 --- a/nixos/machines/sternchen/hardware-configuration.nix +++ b/nixos/machines/sternchen/hardware-configuration.nix @@ -19,7 +19,7 @@ zramSwap = { enable = true; - numDevices = 2; + #numDevices = 2; swapDevices = 1; memoryPercent = 50; };