aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/dashboard/dashboard-template.nix8
-rw-r--r--modules/network/default.nix1
-rw-r--r--modules/storage/git.nix14
3 files changed, 4 insertions, 19 deletions
diff --git a/modules/dashboard/dashboard-template.nix b/modules/dashboard/dashboard-template.nix
index 4c4b67f..9883a1d 100644
--- a/modules/dashboard/dashboard-template.nix
+++ b/modules/dashboard/dashboard-template.nix
@@ -35,6 +35,7 @@ let
font-size: 16px;
color: #dbe0f9;
font-family: JetBrains Mono, monospace;
+ --color-gray: #1a1824;
}
html, body {
background-color: #0f0c19;
@@ -53,7 +54,6 @@ let
padding: 0 1rem;
width: 100%;
margin: 1rem auto 2rem;
- max-width: 1200px
}
.card {
--color-card-accent: #8e7ae3;
@@ -62,7 +62,7 @@ let
font-size: 1.2rem;
color: var(--color-card-accent);
text-decoration: none;
- border: 2px solid #1a1824;
+ border: 2px solid var(--color-gray);
position: relative;
}
.card::before {
@@ -95,14 +95,14 @@ let
}
.stats-container {
padding: 1rem;
- border-top: 1px solid #1a1824;
+ border-top: 1px solid var(--color-gray);
}
.stats-container iframe {
width: 100%;
display: block;
min-height: 1100px;
height: 100%;
- border: 2px solid #1a1824;
+ border: 2px solid var(--color-gray);
border-radius: 5px;
}
'';
diff --git a/modules/network/default.nix b/modules/network/default.nix
index 5ea3ee1..8061850 100644
--- a/modules/network/default.nix
+++ b/modules/network/default.nix
@@ -21,7 +21,6 @@ in
"jellyseerr.local" = { inherit host; port = ports.jellyseerr; };
"syncthing.local" = { inherit host; port = ports.syncthing; };
"lidarr.local" = { inherit host; port = ports.lidarr; };
- "git.local" = { inherit host; port = 80; basePath = "/gitweb/"; };
"ntfy.local" = { inherit host; port = ports.ntfy; };
"grafana.local" = { inherit host; port = ports.grafana; extraOptions.recommendedProxySettings = true; };
};
diff --git a/modules/storage/git.nix b/modules/storage/git.nix
index c9d447e..fd2e5b8 100644
--- a/modules/storage/git.nix
+++ b/modules/storage/git.nix
@@ -24,18 +24,4 @@ in
};
};
};
-
- services.gitweb = {
- gitwebTheme = true;
- projectroot = settings.git.baseDir;
- };
-
- services.nginx = {
- enable = true;
- gitweb = {
- enable = true;
- group = settings.git.group;
- virtualHost = "_";
- };
- };
}