~cnx/dotfiles unlisted

f140f08bc6c39037958048294fd241a28d8da607 — Nguyễn Gia Phong 2 months ago 88051c9 master
Snapshot config before there're too much

I thought I could always make meaningful config msgs.
11 files changed, 42 insertions(+), 23 deletions(-)

M .gitignore
M awesome/.config/awesome/rc.lua
M awesome/.config/awesome/themes/srcery/theme.lua
M newsboat/.config/newsboat/urls
R nix/{etc/nixos/awesome.nix => awesome.nix}
R nix/{etc/nixos/configuration.nix => configuration.nix}
R nix/{etc/nixos/devel.nix => devel.nix}
R nix/{etc/nixos/games.nix => games.nix}
R nix/{etc/nixos/hardware-configuration.nix => hardware-configuration.nix}
M nixos/.Xdefaults
M ranger/.config/ranger/rc.conf
M .gitignore => .gitignore +0 -1
@@ 1,7 1,6 @@
.uuid
__pycache__
audio/.config/pulse/cookie
nix/etc/nixos/redshift.nix
vim/.cache/vim
vim/.vim/.netrwhist
vim/.vim/plugged

M awesome/.config/awesome/rc.lua => awesome/.config/awesome/rc.lua +1 -1
@@ 791,7 791,7 @@ client.connect_signal(
       awful.titlebar.widget.stickybutton(c),
       awful.titlebar.widget.maximizedbutton(c),
       awful.titlebar.widget.floatingbutton(c),
       layout  = wibox.layout.fixed.horizontal
       layout = wibox.layout.fixed.horizontal
      },
      {-- Middle
       {-- Title

M awesome/.config/awesome/themes/srcery/theme.lua => awesome/.config/awesome/themes/srcery/theme.lua +1 -1
@@ 21,7 21,7 @@ local theme = {}
local wd = '~/.config/awesome/themes/srcery/'
local function abspath(relative) return wd .. relative end

theme.font          = 'Latin Modern Mono Caps 15'
theme.font          = 'Latin Modern Mono 15'
theme.hotkeys_font  = 'Latin Modern Mono Bold 15'
theme.hotkeys_description_font = theme.font


M newsboat/.config/newsboat/urls => newsboat/.config/newsboat/urls +4 -2
@@ 6,15 6,17 @@ https://www.fsf.org/static/fsforg/rss/jobs.xml
https://ar.al/index.xml
https://andrewkelley.me/rss.xml
https://tyil.nl/atom.xml
https://andrewshitov.com/feed
https://secluded.site/posts/index.xml
https://codesections.com/rss.xml
https://andrewshitov.com/feed
https://pgjones.dev/blog/atom.xml
https://blog.ganssle.io/feeds/all.atom.xml
https://vorpus.org/blog/feeds/atom.xml
https://voussoir.net/writing/writing.atom
https://danct12.github.io/feed.xml
https://raphlinus.github.io/feed.xml
https://www.chrisj.com.au/feeds/posts/default
https://feeds.feedburner.com/WolfireGames
https://cnx.srht.site/feed.xml
https://huyngo.srht.site/index.xml
https://huyngo.envs.net/index.xml
https://node2.feed43.com/7524823728140683.xml

R nix/etc/nixos/awesome.nix => nix/awesome.nix +8 -9
@@ 1,14 1,13 @@
{ pkgs, ... }:

{
  imports = [ ./redshift.nix ];

  fonts.fonts = with pkgs; [ lmodern ];
  fonts.fonts = with pkgs; [ julia-mono lmodern ];

  services = {
    autorandr.enable = true;
    xserver = {
      enable = true;
      desktopManager.xterm.enable = false;
      displayManager.startx.enable = true;
      windowManager.awesome.enable = true;



@@ 27,14 26,14 @@
  };

  environment.systemPackages = with pkgs; [
    gnome.adwaita-icon-theme qt5ct
    gnome.networkmanagerapplet keynav mate.mate-power-manager
    clipnotify playerctl pulsemixer xclip xdotool
    rxvt_unicode-with-plugins urxvt_autocomplete_all_the_things urxvt_font_size
    aerc amfora newsboat ranger ueberzug vim_configurable
    arandr audacious firefox gimp nheko scrot xorg.xkill zathura
    gnome.adwaita-icon-theme gnome.networkmanagerapplet qt5ct
    clipbuzz playerctl pulsemixer xclip xdotool
    aerc amfora ncdu newsboat ranger ueberzug rxvt-unicode vim_configurable
    arandr audacious keynav scrot sigil xorg.xkill zathura
    firefox libreoffice nheko transmission-gtk
  ];

  programs.nm-applet.enable = true;
  programs.slock.enable = true;
  programs.udevil.enable = true;
}

R nix/etc/nixos/configuration.nix => nix/configuration.nix +13 -3
@@ 44,6 44,11 @@
    # firewall.allowedUDPPorts = [ ... ];
    # Or disable the firewall altogether.
    # firewall.enable = false;

    # Overcoming my strange addiction
    extraHosts = ''
      127.0.0.1 9gag.com
    '';
  };

  # Set your time zone.


@@ 60,9 65,11 @@
    extraGroups = [ "networkmanager" "wheel" ];
  };

  nix.autoOptimiseStore = true;
  environment.systemPackages = with pkgs; [
    htop isync killall oathToolkit rsync stow w3m wget
    ffmpeg mpv pavucontrol vimiv-qt youtube-dl
    htop isync killall oathToolkit rsync stow unzip w3m wget
    mpv pavucontrol sent vimiv-qt yacreader youtube-dl
    ffmpeg gifski gimp imagemagick inkscape simplescreenrecorder
  ];

  security.rtkit.enable = true;


@@ 80,7 87,10 @@
      # media-session.enable = true;
    };

    printing.enable = true;
    printing = {
      enable = true;
      drivers = with pkgs; [ hplipWithPlugin ];
    };

    dictd = {
      enable = true;

R nix/etc/nixos/devel.nix => nix/devel.nix +5 -3
@@ 2,9 2,10 @@

{
  environment.systemPackages = with pkgs; [
    exa fd git glow ripgrep rlwrap
    clojure guile julia-stable leiningen lua python3 rakudo zig
    texlive.combined.scheme-tetex
    exa fd gitAndTools.gitFull glow jq manpages ripgrep rlwrap
    clojure gcc guile julia-stable-bin lua python3 rakudo zig
    bintools gdb gnumake leiningen pkg-config python38Packages.pip
    groff plantuml texlive.combined.scheme-full
  ];

  programs.mtr.enable = true;


@@ 26,6 27,7 @@
      authentication = pkgs.lib.mkOverride 10 ''
        local all all trust
        host all all ::1/128 trust
        host all all 127.0.0.1/32 password
      '';
    };
  };

R nix/etc/nixos/games.nix => nix/games.nix +5 -1
@@ 8,12 8,16 @@
    astromenace chromium-bsu # scrolling
    azimuth cdogs-sdl taisei # shmup
    bastet moon-buggy n2048 # text
    blackshades redeclipse warsow xonotic-glx # fps
    # blackshades redeclipse warsow xonotic-glx # fps
    blobwars openclonk sienna superTux # platformer
    bonzomatic # edu
    extremetuxracer gl117 gltron superTuxKart # vehicle
    flare freedroidrpg hyperrogue # slash
    frozen-bubble gnujump gtetrinet pinball xbill # coffeebreak
    neverball orthorobot trackballs # puzzle
    (steam.override {
      nativeOnly = true;
      extraPkgs = pkgs: [ SDL2_net ];
    }).run gnome.gtk # launcher
  ];
}

R nix/etc/nixos/hardware-configuration.nix => nix/hardware-configuration.nix +0 -0
M nixos/.Xdefaults => nixos/.Xdefaults +4 -1
@@ 28,5 28,8 @@ URxvt.jumpScroll:   true

URxvt.font: xft:Latin Modern Mono:size=15:autohint=true
URxvt.termName: rxvt-unicode-256color
URxvt.perl-ext-common: default,font-size
URxvt.perl-ext-common: default,font-size,autocomplete-ALL-the-things
URxvt.font-size.step: 1
URxvt.keysym.M-C-slash: perl:aAtt:word-complete
URxvt.keysym.M-question: perl:aAtt:fuzzy-complete
URxvt.keysym.M-quotedbl: perl:aAtt:undo

M ranger/.config/ranger/rc.conf => ranger/.config/ranger/rc.conf +1 -1
@@ 57,7 57,7 @@ set automatically_count_files true
set open_all_images true

# Be aware of version control systems and display information.
set vcs_aware true
set vcs_aware false

# State of the four backends git, hg, bzr, svn. The possible states are
# disabled, local (only show local info), enabled (show local and remote