about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-06-06 20:25:38 +0200
committerSoispha <soispha@vhack.eu>2023-06-16 08:04:13 +0200
commit700947673e46d06b7f5c168ba94efa72703bc619 (patch)
treec17a0ad108d32678ecaff72053e211979d8e75ce
parentFix(system/services/serverphone): Correct line breaks (diff)
downloadnixos-config-700947673e46d06b7f5c168ba94efa72703bc619.tar.gz
nixos-config-700947673e46d06b7f5c168ba94efa72703bc619.zip
Fix(system/services/serverphone): Explicitly enable Doas
Diffstat (limited to '')
-rw-r--r--flake.lock32
-rw-r--r--system/services/serverphone/default.nix1
2 files changed, 17 insertions, 16 deletions
diff --git a/flake.lock b/flake.lock
index 40ba49c8..523260cf 100644
--- a/flake.lock
+++ b/flake.lock
@@ -40,11 +40,11 @@
         ]
       },
       "locked": {
-        "lastModified": 1685896619,
-        "narHash": "sha256-6rgKAm8/GaFYOrshu+heVjUCgWTJJpzsm9YyENsYDRo=",
+        "lastModified": 1686186025,
+        "narHash": "sha256-SuQjKsO1G87qM5j8VNtq6kIw4ILYE03Y8yL/FoKwR+4=",
         "owner": "ipetkov",
         "repo": "crane",
-        "rev": "4bdf5595ae15481b4021358dc17d6c0df8eecd7f",
+        "rev": "057d95721ee67d421391dda7031977d247ddec28",
         "type": "github"
       },
       "original": {
@@ -234,11 +234,11 @@
         ]
       },
       "locked": {
-        "lastModified": 1685999310,
-        "narHash": "sha256-gaRMZhc7z4KeU/xS3IWv3kC+WhVcAXOLXXGKLe5zn1Y=",
+        "lastModified": 1686168915,
+        "narHash": "sha256-zV5lh3PGKcI8W7+5bXSRsCetfsi6x10Xvojpk5HAQHU=",
         "owner": "nix-community",
         "repo": "home-manager",
-        "rev": "28614ed7a1e3ace824c122237bdc0e5e0b62c5c3",
+        "rev": "cc6745b35fefe48624ebf573382e1e0e4a6fe85e",
         "type": "github"
       },
       "original": {
@@ -317,11 +317,11 @@
     },
     "nixpkgs": {
       "locked": {
-        "lastModified": 1685931219,
-        "narHash": "sha256-8EWeOZ6LKQfgAjB/USffUSELPRjw88A+xTcXnOUvO5M=",
+        "lastModified": 1686020360,
+        "narHash": "sha256-Wee7lIlZ6DIZHHLiNxU5KdYZQl0iprENXa/czzI6Cj4=",
         "owner": "NixOS",
         "repo": "nixpkgs",
-        "rev": "7409480d5c8584a1a83c422530419efe4afb0d19",
+        "rev": "4729ffac6fd12e26e5a8de002781ffc49b0e94b7",
         "type": "github"
       },
       "original": {
@@ -435,11 +435,11 @@
         ]
       },
       "locked": {
-        "lastModified": 1686018793,
-        "narHash": "sha256-3w+6dmVbFg4wJqDMjGmy4Ki5GclJx4AhzSEfAwtu6Aw=",
+        "lastModified": 1686191569,
+        "narHash": "sha256-8ey5FOXNms9piFGTn6vJeAQmSKk+NL7GTMSoVttsNTs=",
         "owner": "oxalica",
         "repo": "rust-overlay",
-        "rev": "32b17eeafe550935bd5ca1afd1717dcefcb97653",
+        "rev": "b4b71458b92294e8f1c3a112d972e3cff8a2ab71",
         "type": "github"
       },
       "original": {
@@ -470,11 +470,11 @@
         ]
       },
       "locked": {
-        "lastModified": 1686075258,
-        "narHash": "sha256-O9JiAV+VLZwr/yi9U17QLenrXJYTjxO0BwlIbNl1Ksg=",
+        "lastModified": 1686216547,
+        "narHash": "sha256-NtbORJOdAoI/+RQdDIXmViTbgAZqJYSAVYm3ql/PZoA=",
         "ref": "refs/heads/prime",
-        "rev": "d5587993eb960577873afd97184d08624ba9315d",
-        "revCount": 22,
+        "rev": "f00e9f34a6c3bae08fdf466349e51ec39f040c66",
+        "revCount": 40,
         "type": "git",
         "url": "https://codeberg.org/vhack.eu/serverphone.git"
       },
diff --git a/system/services/serverphone/default.nix b/system/services/serverphone/default.nix
index 69fcc4b3..96eb9e40 100644
--- a/system/services/serverphone/default.nix
+++ b/system/services/serverphone/default.nix
@@ -8,6 +8,7 @@
     package = "${serverphone.packages.${system}.default}";
     enable = true;
     domain = "localhost";
+    configureDoas = true;
     acceptedSshKeys = [
       "AAAAC3NzaC1lZDI1NTE5AAAAIGBFuTNNn71Rhfnop2cdz3r/RhWWlCePnSBOhTBbu2ME"
     ];