Compare commits

..

3 commits

Author SHA1 Message Date
Ingolf Wagner
9e0a1a6d6b
remove gpu capabilities from browsers 2023-11-17 15:14:04 +01:00
Ingolf Wagner
7f99bcdd29
use better taskshell 2023-11-17 15:13:46 +01:00
Ingolf Wagner
170ae9b6be
add arr 2023-11-17 15:13:30 +01:00
7 changed files with 106 additions and 2 deletions

View file

@ -434,6 +434,24 @@
"type": "github" "type": "github"
} }
}, },
"flake-utils_7": {
"inputs": {
"systems": "systems_2"
},
"locked": {
"lastModified": 1694529238,
"narHash": "sha256-zsNZZGTGnMOf9YpHKJqMSsa0dXbfmxeoJ7xHlrt+xmY=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "ff7b65b44d01cf9ba6a71320833626af21126384",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"format-all": { "format-all": {
"flake": false, "flake": false,
"locked": { "locked": {
@ -1042,7 +1060,8 @@
"retiolum": "retiolum", "retiolum": "retiolum",
"secrets": "secrets", "secrets": "secrets",
"sops-nix": "sops-nix", "sops-nix": "sops-nix",
"stylix": "stylix" "stylix": "stylix",
"taskshell": "taskshell"
} }
}, },
"rotate-text": { "rotate-text": {
@ -1167,6 +1186,42 @@
"type": "github" "type": "github"
} }
}, },
"systems_2": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
},
"taskshell": {
"inputs": {
"flake-utils": "flake-utils_7",
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1700120351,
"narHash": "sha256-yXT05+0/2P3ld0cG9Zd6Pg32WowIh1l97b4fP72Jl0s=",
"owner": "mrvandalo",
"repo": "taskshell",
"rev": "f4b8a0068e79ca8671f3d4a79e6f3e1ab18f9aa6",
"type": "github"
},
"original": {
"owner": "mrvandalo",
"repo": "taskshell",
"type": "github"
}
},
"ts-fold": { "ts-fold": {
"flake": false, "flake": false,
"locked": { "locked": {

View file

@ -76,6 +76,10 @@
#inputs.nixpkgs.follows = "nixpkgs"; #inputs.nixpkgs.follows = "nixpkgs";
#inputs.home-manager.follows = "home-manager"; #inputs.home-manager.follows = "home-manager";
}; };
taskshell = {
url = "github:mrvandalo/taskshell";
inputs.nixpkgs.follows = "nixpkgs";
};
}; };
outputs = outputs =
@ -104,6 +108,7 @@
, secrets , secrets
, sops-nix , sops-nix
, stylix , stylix
, taskshell
}: }:
let let
system = "x86_64-linux"; system = "x86_64-linux";
@ -141,6 +146,7 @@
landingpage = landingpage.packages.${system}.plain; landingpage = landingpage.packages.${system}.plain;
trilium-server = nixpkgs-unstable.legacyPackages.${system}.trilium-server; trilium-server = nixpkgs-unstable.legacyPackages.${system}.trilium-server;
kmonad = kmonad.packages.${system}.kmonad; kmonad = kmonad.packages.${system}.kmonad;
tasksh = taskshell.packages.${system}.tasksh;
}) })
(import ./nixos/pkgs) (import ./nixos/pkgs)
]; ];

View file

@ -16,7 +16,7 @@ in
google = { google = {
home = "${homeFolder}/google-browser"; home = "${homeFolder}/google-browser";
homeBackup = "${backupFolder}/google-browser"; homeBackup = "${backupFolder}/google-browser";
gpu = true; gpu = false;
}; };
finance = { finance = {
home = "${homeFolder}/finance-browser"; home = "${homeFolder}/finance-browser";

View file

@ -24,6 +24,9 @@ let
"sync.robi" = hosts.robi; "sync.robi" = hosts.robi;
"transmission.robi" = hosts.robi; "transmission.robi" = hosts.robi;
"transmission2.robi" = hosts.robi; "transmission2.robi" = hosts.robi;
"sonarr.robi" = hosts.robi;
"radarr.robi" = hosts.robi;
"tadarr.robi" = hosts.robi;
# pepe # pepe
"grafana.pepe" = hosts.pepe; "grafana.pepe" = hosts.pepe;
"loki.pepe" = hosts.pepe; "loki.pepe" = hosts.pepe;

View file

@ -122,6 +122,7 @@ in
emoji-picker emoji-picker
gojq gojq
pureref
steam-run steam-run

View file

@ -33,6 +33,7 @@
./media-syncthing.nix ./media-syncthing.nix
./media-transmission.nix ./media-transmission.nix
./media-transmission2.nix ./media-transmission2.nix
./media-arr.nix
./social-jitsi.nix ./social-jitsi.nix

View file

@ -0,0 +1,38 @@
{ config, ... }:
{
services.sonarr = {
enable = true;
group = "media";
user = "media";
};
services.radarr = {
enable = true;
group = "media";
user = "media";
};
services.nginx.virtualHosts = {
"radarr.${config.networking.hostName}.private" = {
extraConfig = ''
allow ${config.tinc.private.subnet};
deny all;
'';
locations."/" = {
proxyPass = "http://localhost:7878";
proxyWebsockets = true;
};
};
"sonarr.${config.networking.hostName}.private" = {
extraConfig = ''
allow ${config.tinc.private.subnet};
deny all;
'';
locations."/" = {
proxyPass = "http://localhost:8989";
proxyWebsockets = true;
};
};
};
}