--- /dev/null
+{
+ "nodes": {
+ "home-manager": {
+ "inputs": {
+ "nixpkgs": [
+ "nixpkgs"
+ ]
+ },
+ "locked": {
+ "lastModified": 1737762889,
+ "narHash": "sha256-5HGG09bh/Yx0JA8wtBMAzt0HMCL1bYZ93x4IqzVExio=",
+ "owner": "nix-community",
+ "repo": "home-manager",
+ "rev": "daf04c5950b676f47a794300657f1d3d14c1a120",
+ "type": "github"
+ },
+ "original": {
+ "owner": "nix-community",
+ "repo": "home-manager",
+ "type": "github"
+ }
+ },
+ "nixpkgs": {
+ "locked": {
+ "lastModified": 1737632463,
+ "narHash": "sha256-38J9QfeGSej341ouwzqf77WIHAScihAKCt8PQJ+NH28=",
+ "owner": "NixOS",
+ "repo": "nixpkgs",
+ "rev": "0aa475546ed21629c4f5bbf90e38c846a99ec9e9",
+ "type": "github"
+ },
+ "original": {
+ "owner": "NixOS",
+ "ref": "nixos-unstable",
+ "repo": "nixpkgs",
+ "type": "github"
+ }
+ },
+ "root": {
+ "inputs": {
+ "home-manager": "home-manager",
+ "nixpkgs": "nixpkgs"
+ }
+ }
+ },
+ "root": "root",
+ "version": 7
+}
description = "My nix config";
inputs = {
- nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.11";
+ nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
- home-manager.url = "github:nix-community/home-manager/release-24.11";
+ home-manager.url = "github:nix-community/home-manager";
home-manager.inputs.nixpkgs.follows = "nixpkgs";
};
- outputs = { self, nixpkgs, ... }@inputs: {
+ outputs = { self, nixpkgs, ... }@inputs:
+ let
+ system = "x86_64-linux";
+ pkgs = nixpkgs.legacyPackages.${system};
+ in
+ {
nixosConfigurations.t420 = nixpkgs.lib.nixosSystem {
- specialArgs = { inherit inputs "x86_64-linux"; };
- modules = [ ./configuration.nix ];
+ specialArgs = { inherit inputs system; };
+ modules = [
+ ./configuration.nix
+ inputs.home-manager.nixosModules.default
+ ];
};
};
}
home.packages = with pkgs; [
dwm # Window manager.
fish # Shell.
+ flameshot # Screenshot.
gimp # Image editor.
helix # Text editor.
krita # Drawing software.
monero-gui # Monero wallet.
ncmpcpp # Music player.
+ newsboat # RSS reader.
+ qbittorrent # Torrent client.
qutebrowser # Web browser.
st # Terminal emulator.
# Misc.
alsa-utils
+ btop
dmenu
feh
git
home-manager
- htop
mpd
pfetch-rs
picom
dwm = prev.dwm.overrideAttrs (old: {
src = pkgs.fetchgit {
url = "git://jxnshi.xyz/dwm-config.git";
- hash = "sha256-BJ77olfRDYvlq1GrJcDXPd7ZNiQlxZ/rxzGn3ftH42k=";
+ hash = "sha256-TtxXm9gYTUdEDfoee0jvu9No4u8xXatTin4oW+gM+KE=";
};
});
st = prev.st.overrideAttrs (old: {
type "pipewire"
name "Pipewire Sound Server"
}
-
- audio_output {
- type "fifo"
- name "Visualizer feed"
- path "/tmp/mpd.fifo"
- format "44100:16:2"
- }
'';
# Ncmpcpp.
programs.ncmpcpp.settings.browser_display_mode = "columns";
programs.ncmpcpp.settings.allow_for_physical_item_deletion = "yes";
+ # Newsboat.
+ programs.newsboat.enable = true;
+
+ programs.newsboat.urls = [
+ # Kyun.
+ {
+ title = "Kyun";
+ url = "https://blog.kyun.host/rss";
+ }
+ # YouTube.
+ {
+ title = "YouTube - DeSinc";
+ url = "https://www.youtube.com/feeds/videos.xml?channel_id=UC4nJnJ-HO5vVbGlJ14rf5yg";
+ }
+ {
+ title = "YouTube - Eric Murphy";
+ url = "https://www.youtube.com/feeds/videos.xml?channel_id=UC5KDiSAFxrDWhmysBcNqtMA";
+ }
+ {
+ title = "YouTube - Feldup";
+ url = "https://www.youtube.com/feeds/videos.xml?channel_id=UCQVaKQcp4OxSg1eC6SF3NTw";
+ }
+ {
+ title = "YouTube - Garbaj";
+ url = "https://www.youtube.com/feeds/videos.xml?channel_id=UCPUe9uOcp1UMpVi6Vll60Jw";
+ }
+ {
+ title = "YouTube - Hakita";
+ url = "https://www.youtube.com/feeds/videos.xml?channel_id=UCD1lODYlzMJ3YlZ30x2CwUg";
+ }
+ {
+ title = "YouTube - Htwo";
+ url = "https://www.youtube.com/feeds/videos.xml?channel_id=UCvCkfdQ3zMmgJaGhH1A15YQ";
+ }
+ {
+ title = "YouTube - Hugo Decrypte";
+ url = "https://www.youtube.com/feeds/videos.xml?channel_id=UCAcAnMF0OrCtUep3Y4M-ZPw";
+ }
+ {
+ title = "YouTube - Imanex";
+ url = "https://www.youtube.com/feeds/videos.xml?channel_id=UCnnv8m73O0sHt2voHurFguA";
+ }
+ {
+ title = "YouTube - James VS Cinema";
+ url = "https://www.youtube.com/feeds/videos.xml?channel_id=UC481dIe4FkXPfTPiz-giDQg";
+ }
+ {
+ title = "YouTube - JPEGMAFIA";
+ url = "https://www.youtube.com/feeds/videos.xml?channel_id=UCnAbB39RDMkmkMLigykYvQw";
+ }
+ {
+ title = "YouTube - Linguisticae";
+ url = "https://www.youtube.com/feeds/videos.xml?channel_id=UCofQxJWd4qkqc7ZgaLkZfcw";
+ }
+ {
+ title = "YouTube - Luke Smith";
+ url = "https://www.youtube.com/feeds/videos.xml?channel_id=UC2eYFnH61tmytImy1mTYvhA";
+ }
+ {
+ title = "YouTube - melanie";
+ url = "https://www.youtube.com/feeds/videos.xml?channel_id=UCWQEl_Y75VP4bO59vu6FvYw";
+ }
+ {
+ title = "YouTube - Mental Outlaw";
+ url = "https://www.youtube.com/feeds/videos.xml?channel_id=UC7YOGHUfC1Tb6E4pudI9STA";
+ }
+ {
+ title = "YouTube - Second Thought";
+ url = "https://www.youtube.com/feeds/videos.xml?channel_id=UCJm2TgUqtK1_NLBrjNQ1P-w";
+ }
+ {
+ title = "YouTube - Shadok";
+ url = "https://www.youtube.com/feeds/videos.xml?channel_id=UCob2SKILOgz_nfAuO74IUZw";
+ }
+ {
+ title = "YouTube - Techlore";
+ url = "https://www.youtube.com/feeds/videos.xml?channel_id=UCs6KfncB4OV6Vug4o_bzijg";
+ }
+ {
+ title = "YouTube - The Vaush Pit";
+ url = "https://www.youtube.com/feeds/videos.xml?channel_id=UCdUD6racxisHiSX9iWFcuug";
+ }
+ {
+ title = "YouTube - TheWhat Show";
+ url = "https://www.youtube.com/feeds/videos.xml?channel_id=UCKaLvqnOyhNjOa5lvfZBZRg";
+ }
+ {
+ title = "YouTube - turning the tables";
+ url = "https://www.youtube.com/feeds/videos.xml?channel_id=UCgmDCcn9oo7m9XCIfi8eavw";
+ }
+ {
+ title = "YouTube - Tyler McVicker";
+ url = "https://www.youtube.com/feeds/videos.xml?channel_id=UCL5RKbiAPqSC_mUIjCpx3xg";
+ }
+ {
+ title = "YouTube - Vaush";
+ url = "https://www.youtube.com/feeds/videos.xml?channel_id=UC1E-JS8L0j1Ei70D9VEFrPQ";
+ }
+ {
+ title = "YouTube - Veritasium";
+ url = "https://www.youtube.com/feeds/videos.xml?channel_id=UCHnyfMqiRRG1u-2MsSQLbXA";
+ }
+ ];
+
# Picom.
services.picom.enable = true;