[feat] Use old.reddit for rss

This commit is contained in:
uttarayan21
2024-03-21 02:35:00 +05:30
parent 52ff760a5a
commit e8434fadf5
4 changed files with 27 additions and 8 deletions

View File

@@ -11,7 +11,7 @@
{ {
name = "r/rust"; name = "r/rust";
desc = "The rust subreddit"; desc = "The rust subreddit";
url = "https://www.reddit.com/r/rust/.rss"; url = "https://old.reddit.com/r/rust/.rss";
} }
{ {
name = "thesquareplanet"; name = "thesquareplanet";
@@ -24,6 +24,17 @@
url = "https://www.youtube.com/feeds/videos.xml?channel_id=UC_iD0xppBwwsrM9DegC5cQQ"; url = "https://www.youtube.com/feeds/videos.xml?channel_id=UC_iD0xppBwwsrM9DegC5cQQ";
} }
]; ];
}
{
name = "Nix";
desc = "Stuff related to the nix / nixos / nixlang";
subscriptions = [
{
name = "r/nixos";
desc = "The nixos subreddit";
url = "https://old.reddit.com/r/nixos/.rss";
}
];
}]; }];
}; };
}; };

View File

@@ -11,6 +11,7 @@
home.packages = with pkgs; home.packages = with pkgs;
[ [
sd
go go
p7zip p7zip
picat picat
@@ -50,6 +51,7 @@
(nerdfonts.override { fonts = [ "Hasklig" ]; }) (nerdfonts.override { fonts = [ "Hasklig" ]; })
pfetch-rs pfetch-rs
psst psst
abaddon
] ++ lib.optionals device.isLinux [ ] ++ lib.optionals device.isLinux [
mpv mpv
catppuccinThemes.gtk catppuccinThemes.gtk
@@ -108,6 +110,11 @@
enable = true; enable = true;
userName = "uttarayan21"; userName = "uttarayan21";
userEmail = "email@uttarayan.me"; userEmail = "email@uttarayan.me";
extraConfig = {
color.ui = true;
core.editor = "nvim";
push.autoSetupRemote = true;
};
}; };
nix-index = { nix-index = {
enable = true; enable = true;
@@ -222,7 +229,7 @@
email = "uttarayan21@gmail.com"; email = "uttarayan21@gmail.com";
base_url = "https://pass.uttarayan.me"; base_url = "https://pass.uttarayan.me";
pinentry = pinentry =
if device.isMac then pkgs.pinentry_mac else pkgs.pinentry-qt; if device.isMac then pkgs.pinentry_mac else pkgs.pinentry-gnome3;
}; };
}; };

View File

@@ -433,12 +433,11 @@
}) })
require"octo".setup({ require"octo".setup({
use_local_fs = false, -- use local files on right side of reviews use_local_fs = false,
enable_builtin = false, -- shows a list of builtin actions when no action is provided enable_builtin = false,
default_remote = {"upstream", "origin"}; default_remote = {"upstream", "origin"};
}) })
''; '';
# builtins.readFile ./extraConfig.lua;
package = pkgs.neovim-nightly; package = pkgs.neovim-nightly;
}; };
} }

View File

@@ -139,6 +139,10 @@
"$mainMod" = "SUPER"; "$mainMod" = "SUPER";
"$mainModShift" = "SUPER_SHIFT"; "$mainModShift" = "SUPER_SHIFT";
binde = [
",xf86audioraisevolume, exec, ${pkgs.swayosd}/bin/swayosd-client --output-volume raise"
",xf86audiolowervolume, exec, ${pkgs.swayosd}/bin/swayosd-client --output-volume lower"
];
bind = [ bind = [
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more # Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
"$mainMod, Return, exec, ${pkgs.foot}/bin/foot" "$mainMod, Return, exec, ${pkgs.foot}/bin/foot"
@@ -154,8 +158,6 @@
# "$mainMod, a, exec, swaync-client -t" # "$mainMod, a, exec, swaync-client -t"
"$mainMod, Tab, cyclenext" "$mainMod, Tab, cyclenext"
# Audio # Audio
",xf86audioraisevolume, exec, ${pkgs.swayosd}/bin/swayosd-client --output-volume raise"
",xf86audiolowervolume, exec, ${pkgs.swayosd}/bin/swayosd-client --output-volume lower"
",xf86audiomute, exec, ${pkgs.swayosd}/bin/swayosd-client --output-volume mute-toggle" ",xf86audiomute, exec, ${pkgs.swayosd}/bin/swayosd-client --output-volume mute-toggle"
# ",xf86audioprev, exec, /home/fs0c131y/.cargo/bin/mctl prev" # ",xf86audioprev, exec, /home/fs0c131y/.cargo/bin/mctl prev"
# ",xf86audionext, exec, /home/fs0c131y/.cargo/bin/mctl next" # ",xf86audionext, exec, /home/fs0c131y/.cargo/bin/mctl next"