alpha
Login
or
Join now
hermes.pds.lassul.us
/
superconfig
forked from
lass.pds.lassul.us/superconfig
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
This repository has no description
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
fix some warnings
author
lassulus
date
2 years ago
(Mar 17, 2024, 9:32 AM CET)
commit
9a30fd7a
9a30fd7a10a502b25f0a80f8e0beab4259dc5d7d
parent
6108d6cb
6108d6cbe493b4bb4c742ce0b15c53ee29d3c723
+8
-10
6 changed files
Expand all
Collapse all
Unified
Split
2configs
binary-cache
client.nix
default.nix
services
radio
default.nix
syncthing.nix
websites
domsen.nix
machines
coaxmetal
config.nix
+1
-1
2configs/default.nix
View file
Reviewed
···
112
112
ssl.trustIntermediate = true;
113
113
};
114
114
115
115
-
nix.useSandbox = true;
115
115
+
nix.settings.sandbox = true;
116
116
117
117
users.mutableUsers = false;
118
118
+1
-1
2configs/syncthing.nix
View file
Reviewed
···
11
11
mk_peers = lib.mapAttrs (n: v: { id = v.syncthing.id; });
12
12
13
13
all_peers = lib.filterAttrs (n: v: v.syncthing.id != null) config.krebs.hosts;
14
14
-
used_peer_names = lib.unique (lib.filter lib.isString (lib.flatten (lib.mapAttrsToList (n: v: v.devices) config.services.syncthing.folders)));
14
14
+
used_peer_names = lib.unique (lib.filter lib.isString (lib.flatten (lib.mapAttrsToList (n: v: v.devices) config.services.syncthing.settings.folders)));
15
15
used_peers = lib.filterAttrs (n: v: lib.elem n used_peer_names) all_peers;
16
16
in {
17
17
services.syncthing = {
+3
-5
2configs/binary-cache/client.nix
View file
Reviewed
···
1
1
-
{ config, ... }:
2
2
-
3
1
{
4
4
-
nix = {
5
5
-
binaryCaches = [
2
2
+
nix.settings = {
3
3
+
substituters = [
6
4
"http://cache.prism.r"
7
5
"http://cache.neoprism.r"
8
6
"https://cache.nixos.org/"
9
7
];
10
10
-
binaryCachePublicKeys = [
8
8
+
trusted-public-keys = [
11
9
"cache.prism-1:+S+6Lo/n27XEtvdlQKuJIcb1yO5NUqUCE2lolmTgNJU="
12
10
"cache.prism-2:YwmCm3/s/D+SxrPKN/ETjlpw/219pNUbpnluatp6FKI="
13
11
"hydra.nixos.org-1:CNHJZBh9K4tP3EKF6FkkgeVYsS3ohTl+oS0Qa8bezVs="
+1
-1
2configs/websites/domsen.nix
View file
Reviewed
···
461
461
];
462
462
};
463
463
464
464
-
services.syncthing.declarative.folders = {
464
464
+
services.syncthing.settings.folders = {
465
465
domsen-backups = {
466
466
path = "/backups/domsen";
467
467
devices = [ "domsen-backup" ];
+1
-1
machines/coaxmetal/config.nix
View file
Reviewed
···
66
66
67
67
programs.adb.enable = true;
68
68
69
69
-
nix.trustedUsers = [ "root" "lass" ];
69
69
+
nix.settings.trusted-users = [ "root" "lass" ];
70
70
71
71
services.tor = {
72
72
enable = true;
+1
-1
2configs/services/radio/default.nix
View file
Reviewed
···
346
346
'';
347
347
};
348
348
};
349
349
-
services.syncthing.declarative.folders."/home/lass/tmp/the_playlist" = {
349
349
+
services.syncthing.settings.folders."/home/lass/tmp/the_playlist" = {
350
350
path = lib.mkForce "/var/music/the_playlist";
351
351
devices = [ "mors" "phone" "prism" "omo" "radio" ];
352
352
};