aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2022-10-06 13:37:43 +0200
committerKarel Kočí <cynerd@email.cz>2022-10-06 13:37:43 +0200
commit129ca0a69defc08cbab0b0840806d3165f45a414 (patch)
treef04cf3a68648746c92be75215ecdb15614321f9f
parentfbb909aedbc677f86f6cdebf1d1ba819caebf70a (diff)
downloadnixos-personal-129ca0a69defc08cbab0b0840806d3165f45a414.tar.gz
nixos-personal-129ca0a69defc08cbab0b0840806d3165f45a414.tar.bz2
nixos-personal-129ca0a69defc08cbab0b0840806d3165f45a414.zip
nixos: fix build of vps machines
-rw-r--r--flake.lock19
-rw-r--r--flake.nix5
-rw-r--r--nixos/machine/lipwig.nix3
-rw-r--r--nixos/machine/mrpump.nix3
4 files changed, 22 insertions, 8 deletions
diff --git a/flake.lock b/flake.lock
index fca985f..b7b4476 100644
--- a/flake.lock
+++ b/flake.lock
@@ -143,7 +143,8 @@
"nixturris": "nixturris",
"personal-secret": "personal-secret",
"shellrc": "shellrc",
- "sterm": "sterm"
+ "sterm": "sterm",
+ "vpsadminos": "vpsadminos"
}
},
"shellrc": {
@@ -182,6 +183,22 @@
"repo": "sterm",
"type": "github"
}
+ },
+ "vpsadminos": {
+ "locked": {
+ "lastModified": 1665048880,
+ "narHash": "sha256-VbpeFHwhGLZBi/GL/TH+nvEOXFXejXHWL3l7qjlwBzE=",
+ "owner": "Cynerd",
+ "repo": "vpsadminos",
+ "rev": "b1dc09353a9000f7cfda4dcde6572e6e2afd1b7d",
+ "type": "github"
+ },
+ "original": {
+ "owner": "Cynerd",
+ "ref": "nix-flake",
+ "repo": "vpsadminos",
+ "type": "github"
+ }
}
},
"root": "root",
diff --git a/flake.nix b/flake.nix
index 4c24a59..ff46671 100644
--- a/flake.nix
+++ b/flake.nix
@@ -51,7 +51,10 @@
};
amd64System = genericSystem { };
vpsSystem = genericSystem {
- extra_modules = [ vpsadminos.nixosConfigurations.default ];
+ extra_modules = [
+ vpsadminos.nixosConfigurations.default
+ { boot.loader.systemd-boot.enable = false; }
+ ];
};
raspi2System = genericSystem {
system = "armv7l-linux";
diff --git a/nixos/machine/lipwig.nix b/nixos/machine/lipwig.nix
index 0069638..8a7e9a6 100644
--- a/nixos/machine/lipwig.nix
+++ b/nixos/machine/lipwig.nix
@@ -5,9 +5,6 @@ with lib;
{
config = {
- boot.isContainer = true;
- boot.loader.initScript.enable = true;
-
cynerd.openvpn.personal = true;
# Git ######################################################################
diff --git a/nixos/machine/mrpump.nix b/nixos/machine/mrpump.nix
index 66cdbb5..99ce26d 100644
--- a/nixos/machine/mrpump.nix
+++ b/nixos/machine/mrpump.nix
@@ -5,9 +5,6 @@ with lib;
{
config = {
- boot.isContainer = true;
- boot.loader.initScript.enable = true;
-
# Gitlab worker
services.gitlab-runner = {
enable = true;