feat: Added stuff

This commit is contained in:
uttarayan21
2025-07-18 17:06:37 +05:30
parent 214c6e5d92
commit 412ebf98f0
11 changed files with 50 additions and 16 deletions

View File

@@ -1,3 +1,8 @@
{pkgs, ...}: { {
home.packages = [pkgs.ddcbacklight]; pkgs,
device,
lib,
...
}: {
home.packages = lib.optionals (device.name == "ryu") [pkgs.ddcbacklight];
} }

View File

@@ -15,10 +15,10 @@
./fzf.nix ./fzf.nix
./gh.nix ./gh.nix
./git.nix ./git.nix
./goread.nix # ./goread.nix
./helix.nix # ./helix.nix
./mpd.nix ./mpd.nix
./newsboat.nix # ./newsboat.nix
./nh.nix ./nh.nix
./nix-index.nix ./nix-index.nix
./nushell.nix ./nushell.nix
@@ -29,10 +29,12 @@
./tuifeed.nix ./tuifeed.nix
./yazi.nix ./yazi.nix
./zoxide.nix ./zoxide.nix
# ./mpris-scrobbler.nix
./omnix.nix ./omnix.nix
# ./ddcbacklight.nix
./yt-dlp.nix ./yt-dlp.nix
./ryujinx.nix
./ddcbacklight.nix
# ./neovim.nix
# ./mpris-scrobbler.nix
# ./magika.nix # ./magika.nix
# ./ncmpcpp.nix # ./ncmpcpp.nix
# ./neomutt.nix # ./neomutt.nix

10
home/programs/ryujinx.nix Normal file
View File

@@ -0,0 +1,10 @@
{
lib,
pkgs,
device,
...
}: {
home.packages = lib.optionals (device.name == "ryu") [
pkgs.ryujinx
];
}

View File

@@ -34,10 +34,12 @@
substituters = [ substituters = [
"https://nix-community.cachix.org" "https://nix-community.cachix.org"
# "https://sh.darksailor.dev" # "https://sh.darksailor.dev"
"https://nixos-raspberrypi.cachix.org"
]; ];
trusted-public-keys = [ trusted-public-keys = [
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
# "mirai:bcVPoFGBZ0i7JAKMXIqLj2GY3CulLC4kP7rQyqes1RM=" # "mirai:bcVPoFGBZ0i7JAKMXIqLj2GY3CulLC4kP7rQyqes1RM="
"nixos-raspberrypi.cachix.org-1:4iMO9LXa8BqhU+Rpg6LQKiGa2lsNh/j2oiYLNOQ5sPI="
]; ];
}; };
extraOptions = '' extraOptions = ''

View File

@@ -12,6 +12,7 @@
./tailscale.nix ./tailscale.nix
./zerotier.nix ./zerotier.nix
./prowlarr.nix ./prowlarr.nix
./flaresolverr.nix
# ./home-assistant.nix # ./home-assistant.nix
# ./jellyfin.nix # ./jellyfin.nix

View File

@@ -0,0 +1,7 @@
{...}: {
services = {
flaresolverr = {
enable = true;
};
};
}

View File

@@ -3,8 +3,5 @@
prowlarr = { prowlarr = {
enable = true; enable = true;
}; };
flaresolverr = {
enable = true;
};
}; };
} }

View File

@@ -39,13 +39,13 @@
auto-optimise-store = true; auto-optimise-store = true;
extra-experimental-features = "nix-command flakes auto-allocate-uids"; extra-experimental-features = "nix-command flakes auto-allocate-uids";
trusted-users = ["root" "servius"]; trusted-users = ["root" "servius"];
substituters = [ trusted-substituters = [
# "https://nix-community.cachix.org" "https://nix-community.cachix.org"
# "https://sh.darksailor.dev" "https://nixos-raspberrypi.cachix.org"
]; ];
trusted-public-keys = [ trusted-public-keys = [
# "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
# "mirai:bcVPoFGBZ0i7JAKMXIqLj2GY3CulLC4kP7rQyqes1RM=" "nixos-raspberrypi.cachix.org-1:4iMO9LXa8BqhU+Rpg6LQKiGa2lsNh/j2oiYLNOQ5sPI="
]; ];
}; };
extraOptions = '' extraOptions = ''

View File

@@ -17,11 +17,13 @@
auto-optimise-store = true; auto-optimise-store = true;
extra-experimental-features = "nix-command flakes auto-allocate-uids"; extra-experimental-features = "nix-command flakes auto-allocate-uids";
trusted-users = ["root" "remotebuilder" device.user]; trusted-users = ["root" "remotebuilder" device.user];
substituters = [ trusted-substituters = [
"https://nix-community.cachix.org" "https://nix-community.cachix.org"
"https://nixos-raspberrypi.cachix.org"
]; ];
trusted-public-keys = [ trusted-public-keys = [
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
"nixos-raspberrypi.cachix.org-1:4iMO9LXa8BqhU+Rpg6LQKiGa2lsNh/j2oiYLNOQ5sPI="
]; ];
}; };
extraOptions = '' extraOptions = ''

View File

@@ -9,5 +9,6 @@
./homeassistant.nix ./homeassistant.nix
# ./dnscrypt.nix # ./dnscrypt.nix
./resolved.nix ./resolved.nix
./flaresolverr.nix
]; ];
} }

View File

@@ -0,0 +1,7 @@
{...}: {
services = {
flaresolverr = {
enable = true;
};
};
}