From 53477f25b4b270e959608fdd7f7d76ee2db01250 Mon Sep 17 00:00:00 2001 From: jxnshi Date: Mon, 10 Feb 2025 23:00:33 +0100 Subject: [PATCH] Update --- configuration.nix | 4 ++- home.nix | 73 +++++++++++++++++++++++++++++++++++++++-------- 2 files changed, 64 insertions(+), 13 deletions(-) diff --git a/configuration.nix b/configuration.nix index 88aa721..80b4820 100644 --- a/configuration.nix +++ b/configuration.nix @@ -28,10 +28,12 @@ i18n.defaultLocale = "en_US.UTF-8"; # X11. - services.xserver.enable = true; + services.xserver.enable = true; services.xserver.xkb.layout = "us"; # Pipewire. + security.rtkit.enable = true; + services.pipewire.enable = true; services.pipewire.pulse.enable = true; services.pipewire.alsa.enable = true; diff --git a/home.nix b/home.nix index baacabd..ed18a72 100644 --- a/home.nix +++ b/home.nix @@ -7,35 +7,46 @@ home.stateVersion = "24.05"; home.packages = with pkgs; [ + bc # Calculator. + btop # Process manager. + dmenu # Dynamic menu. dwm # Window manager. + feh # Image viewer. + ffmpeg # Media handler. + filezilla # FTP client. fish # Shell. flameshot # Screenshot. gimp # Image editor. + git # Version controller. helix # Text editor. krita # Drawing software. monero-gui # Monero wallet. + mpv # Video player. ncmpcpp # Music player. newsboat # RSS reader. + pavucontrol # Audio controller. + pfetch-rs # Fetcher. qbittorrent # Torrent client. qutebrowser # Web browser. st # Terminal emulator. + tree # File hierarchy viewer. + upower # Power manager. + wget # Web fecther. + yt-dlp # Media downloader. # Misc. alsa-utils - btop - dmenu - feh - git home-manager mpd - pfetch-rs picom + signal-desktop slstatus - timg - tree - upower + valgrind xclip - wget + + # Programming languages. + odin + zig ]; programs.home-manager.enable = true; @@ -45,7 +56,7 @@ dwm = prev.dwm.overrideAttrs (old: { src = pkgs.fetchgit { url = "git://jxnshi.xyz/dwm-config.git"; - hash = "sha256-TtxXm9gYTUdEDfoee0jvu9No4u8xXatTin4oW+gM+KE="; + hash = "sha256-Mlshg4ORdafs04mPIyHSQX1Ls79nsDUJ3Rvx0hKTt9Y="; }; }); st = prev.st.overrideAttrs (old: { @@ -92,7 +103,7 @@ programs.git.userName = "jxnshi"; # MPD. - services.mpd.enable = true; + # services.mpd.enable = true; services.mpd.dbFile = "~/.config/mpd/datebase"; @@ -115,7 +126,7 @@ ''; # Ncmpcpp. - programs.ncmpcpp.enable = true; + # programs.ncmpcpp.enable = true; ## Files. programs.ncmpcpp.mpdMusicDir = ./music; @@ -144,6 +155,14 @@ url = "https://blog.kyun.host/rss"; } # YouTube. + { + title = "YouTube - Cass Andre"; + url = "https://www.youtube.com/feeds/videos.xml?channel_id=UCrzwP_TnWL_FA-PjIZ9qaZg"; + } + { + title = "YouTube - DANY et RAZ"; + url = "https://www.youtube.com/feeds/videos.xml?channel_id=UCeQRERCvEY3-ZeQONwnx0zw"; + } { title = "YouTube - DeSinc"; url = "https://www.youtube.com/feeds/videos.xml?channel_id=UC4nJnJ-HO5vVbGlJ14rf5yg"; @@ -192,6 +211,10 @@ title = "YouTube - Luke Smith"; url = "https://www.youtube.com/feeds/videos.xml?channel_id=UC2eYFnH61tmytImy1mTYvhA"; } + { + title = "YouTube - mara"; + url = "https://www.youtube.com/feeds/videos.xml?channel_id=UCI9eybCgmaFtbhCdBy8q62Q"; + } { title = "YouTube - melanie"; url = "https://www.youtube.com/feeds/videos.xml?channel_id=UCWQEl_Y75VP4bO59vu6FvYw"; @@ -200,6 +223,10 @@ title = "YouTube - Mental Outlaw"; url = "https://www.youtube.com/feeds/videos.xml?channel_id=UC7YOGHUfC1Tb6E4pudI9STA"; } + { + title = "YouTube - pikat"; + url = "https://www.youtube.com/feeds/videos.xml?channel_id=UCpJU5mN3mv6VJCDb-1k7PAA"; + } { title = "YouTube - Second Thought"; url = "https://www.youtube.com/feeds/videos.xml?channel_id=UCJm2TgUqtK1_NLBrjNQ1P-w"; @@ -220,6 +247,10 @@ title = "YouTube - TheWhat Show"; url = "https://www.youtube.com/feeds/videos.xml?channel_id=UCKaLvqnOyhNjOa5lvfZBZRg"; } + { + title = "YouTube - Troublante Acide"; + url = "https://www.youtube.com/feeds/videos.xml?channel_id=UCoUYuIQcJ4ph0sJFvkUFCRw"; + } { title = "YouTube - turning the tables"; url = "https://www.youtube.com/feeds/videos.xml?channel_id=UCgmDCcn9oo7m9XCIfi8eavw"; @@ -241,6 +272,24 @@ # Picom. services.picom.enable = true; + # qutebrowser. + # programs.qutebrowser.enable = true; # Crashes Home Manager for some reason ? + + programs.qutebrowser.quickmarks = { + fa = "https://boards.4chan.org/fa/catalog"; + g = "https://boards.4chan.org/g/catalog"; + lit = "https://boards.4chan.org/lit/catalog"; + lgbt = "https://boards.4chan.org/lgbt/catalog"; + mlp = "https://boards.4chan.org/mlp/catalog"; + mu = "https://boards.4chan.org/mu/catalog"; + qst = "https://boards.4chan.org/qst/catalog"; + x = "https://boards.4chan.org/x/catalog"; + "4chan" = "https://www.4chan.org"; + + yt = "https://www.youtube.com"; + scan = "https://chapmanganato.to"; + }; + ## Opacity. services.picom.settings.opacity-rule = [ "95:class_g = 'st-256color' && focused" -- 2.49.0