shithub: 9pro

Download patch

ref: d71f219b73e3d6ed9875832717afc0f90b60734a
parent: 8a857152a44d9627d01db710dc1fcbb3c46d5537
author: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
date: Thu Feb 23 19:01:48 EST 2023

remove nixos stuff

diff: cannot open a/nixos//null: file does not exist: 'a/nixos//null'
--- a/nixos/README.md
+++ /dev/null
@@ -1,61 +1,0 @@
-# Read-only 9pex in NixOS
-
-```
-sudo mkdir -p /etc/nixos/pkgs
-sudo cp ninepex.nix /etc/nixos/pkgs/
-```
-
-And change `/etc/nixos/configuration.nix`:
-
-```
-{ config, pkgs, ... }:
-
-let
-  ninepex = pkgs.callPackage ./pkgs/ninepex.nix {};
-in
-{
-
-.................
-
-  services.xinetd = {
-    enable = true;
-    services = [
-      {
-        name = "9pfs";
-        port = 564;
-        user = "none";
-        server = "${ninepex}/bin/9pex";
-        serverArgs = "/home/9";
-        flags = "KEEPALIVE REUSE";
-        extraConfig = ''
-          instances = UNLIMITED
-        '';
-      }
-    ];
-  };
-
-.................
-
-  users.users.none = {
-    isNormalUser = false;
-    isSystemUser = false;                                                                                              
-    createHome = true;
-    home = "/home/9";
-    shell = "${pkgs.shadow}/bin/nologin";
-  };
-
-```
-
-Files go to `/home/9`. With `rsync` it can be done as so:
-
-```
-rsync -iCaR \
-        --exclude='.git*' \
-        --exclude='*.out' \
-        --exclude='*.[0125678vqki]' \
-        --exclude='[0125678vqki].*' \
-        --delete-excluded --delete \
-        --chown none:nogroup \
-	dir1 dir2 dir3 \
-        root@host:/home/9/
-```
--- a/nixos/ninepex.nix
+++ /dev/null
@@ -1,16 +1,0 @@
-{ stdenv }:
-
-stdenv.mkDerivation rec {
-  name = "9pex";
-  src = fetchGit {
-    url = "https://git.sr.ht/~ft/9pro";
-    ref = "master";
-    rev = "f9ddf46b12b9ee88e3b81f35f80e374722ca6f9d";
-  };
-
-  installPhase = ''
-    ./build.sh
-    mkdir -p "$out/bin"
-    cp 9pex "$out/bin/"
-  '';
-}