adding volume to server

This commit is contained in:
Matt Nish-Lapidus 2025-04-16 08:29:31 -04:00
parent 6e1918f5b2
commit 779948cec9
4 changed files with 19 additions and 16 deletions

22
flake.lock generated
View file

@ -90,11 +90,11 @@
"nixpkgs-stable": "nixpkgs-stable" "nixpkgs-stable": "nixpkgs-stable"
}, },
"locked": { "locked": {
"lastModified": 1744734107, "lastModified": 1744795771,
"narHash": "sha256-OMPePvgZaJzbCevfSzcU6QcnI835yvI0H2XUhfywNTI=", "narHash": "sha256-aXkUfupefUJWdAGwIOYsllP5lyFSSbRvHzCcEKWffHI=",
"owner": "nix-community", "owner": "nix-community",
"repo": "emacs-overlay", "repo": "emacs-overlay",
"rev": "30d14807368f822be183ecb2197e274ee512dc3a", "rev": "bb1a28197681dc640b89a9a9bec75cdcd7e8d6ec",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -764,11 +764,11 @@
"xwayland-satellite-unstable": "xwayland-satellite-unstable" "xwayland-satellite-unstable": "xwayland-satellite-unstable"
}, },
"locked": { "locked": {
"lastModified": 1744705923, "lastModified": 1744782612,
"narHash": "sha256-ch+j1T4FDMuj3Jm0ALOSS4vpyQZsHQmWO8hkVXOL+nY=", "narHash": "sha256-k3+Mv3cogUBURK2lMIPwesh+qRcNEGMZzzgegm3xvNg=",
"owner": "sodiboo", "owner": "sodiboo",
"repo": "niri-flake", "repo": "niri-flake",
"rev": "1e6d8e177cfc614c35252bd57f0ad7a64833aaa3", "rev": "3e452636c2f717625c1e7bcfa3f22734083bac45",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -797,11 +797,11 @@
"niri-unstable": { "niri-unstable": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1744475937, "lastModified": 1744778770,
"narHash": "sha256-vJXhE2BCJO3AxGUGqL7GW7ReeAL+OKy80ErMYDuILjM=", "narHash": "sha256-vJXhE2BCJO3AxGUGqL7GW7ReeAL+OKy80ErMYDuILjM=",
"owner": "YaLTeR", "owner": "YaLTeR",
"repo": "niri", "repo": "niri",
"rev": "95eafba346a17104a9af71021011fcdc9e13776b", "rev": "f1cca1a6ca0fb176e7681c5212ecd9f34678bdec",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1550,11 +1550,11 @@
"rust-overlay": "rust-overlay_3" "rust-overlay": "rust-overlay_3"
}, },
"locked": { "locked": {
"lastModified": 1744526776, "lastModified": 1744805292,
"narHash": "sha256-H+RSj9U8tZ5jh5UzCjt2kBvpN0AsyELAv8ZOP42Kt74=", "narHash": "sha256-N8FIMhskRvkN+d4dFvNjOPyD0nS2HMFdV1epv4/INw4=",
"owner": "sxyazi", "owner": "sxyazi",
"repo": "yazi", "repo": "yazi",
"rev": "d2cc73c9277662f05be12e1cdd1c9659dd1d6268", "rev": "510cb14ab6e348029763ec4c77a5b6a8c4b38caa",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -9,3 +9,7 @@ Host emenel.ca
Host ford Host ford
User deck User deck
Hostname ford Hostname ford
Host services
User emenel
Hostname 157.180.47.84

View file

@ -36,10 +36,6 @@
}; };
fileSystems = { fileSystems = {
# "/" = {
# device = "/dev/sda";
# fsType = "ext4";
# };
"/mnt/git-storage" = { "/mnt/git-storage" = {
device = "/dev/sdb"; device = "/dev/sdb";
fsType = "ext4"; fsType = "ext4";

View file

@ -6,7 +6,10 @@ in
services = { services = {
forgejo = { forgejo = {
enable = true; enable = true;
lfs.enable = true; lfs = {
enable = true;
};
stateDir = "/mnt/git-storage";
settings = { settings = {
server = { server = {
HTTP_PORT = port; HTTP_PORT = port;