[feat] Add some stuff

This commit is contained in:
uttarayan21
2024-03-17 02:45:41 +05:30
parent 6f1cb3da8f
commit e0dffb350d
7 changed files with 177 additions and 34 deletions

View File

@@ -2,18 +2,21 @@
programs.firefox = {
enable = device.isLinux;
profiles.default = {
userChrome = let
csshacks = pkgs.fetchFromGitHub {
owner = "MrOtherGuy";
repo = "firefox-csshacks";
rev = "master";
sha256 = "sha256-XJ+MTEADzOsCIh0I8EAxbtIpDHfMJsN68sKBy7/1l60=";
};
in ''
@import url(${csshacks}/chrome/toolbars_below_content.css);
@import url(${csshacks}/chrome/scrollable_menupopups.css);
@import url(${csshacks}/chrome/linux_gtk_window_control_patch.css);
'';
userChrome =
let
csshacks = pkgs.fetchFromGitHub {
owner = "MrOtherGuy";
repo = "firefox-csshacks";
rev = "master";
sha256 = "sha256-XJ+MTEADzOsCIh0I8EAxbtIpDHfMJsN68sKBy7/1l60=";
};
in
/* css */
''
/* @import url(${csshacks}/chrome/toolbars_below_content.css); */
/* @import url(${csshacks}/chrome/scrollable_menupopups.css); */
/* @import url(${csshacks}/chrome/linux_gtk_window_control_patch.css); */
'';
extensions = with pkgs.nur.repos.rycee.firefox-addons; [
privacy-badger
bitwarden

View File

@@ -5,10 +5,16 @@
./wezterm.nix
./nvim.nix
./goread.nix
./tuifeed.nix
] ++ lib.optionals device.isLinux [ ../linux ];
home.packages = with pkgs;
[
tuifeed
russ
picat
spotdl
davis
music-player
pandoc
gnupg

14
common/tuifeed.nix Normal file
View File

@@ -0,0 +1,14 @@
{ ... }: {
imports = [ ../modules/tuifeed.nix ];
programs.tuifeed = {
enable = true;
config = {
sources = {
"r/rust" = "https://www.reddit.com/r/rust/.rss";
"thesquareplanet" = "https://thesquareplanet.com/feed.xml";
"Jon Gjengset (YouTube)" = "https://www.youtube.com/feeds/videos.xml?channel_id=UC_iD0xppBwwsrM9DegC5cQQ";
};
};
};
}