fix sternchen

This commit is contained in:
Ingolf Wagner 2023-08-14 09:52:48 +02:00
parent 0cb3dfd772
commit f5efe9a4d4
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B
3 changed files with 6 additions and 3 deletions

View file

@ -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

View file

@ -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" ];

View file

@ -19,7 +19,7 @@
zramSwap = {
enable = true;
numDevices = 2;
#numDevices = 2;
swapDevices = 1;
memoryPercent = 50;
};