base user: init global gitignore, update mimeapps

This commit is contained in:
teutat3s 2022-01-05 23:20:06 +01:00
parent d50ef271e6
commit f45a51805a
Signed by: teutat3s
GPG key ID: 4FA1D3FA524F22C1
4 changed files with 18 additions and 11 deletions

View file

@ -9,6 +9,7 @@ in
${if user.gpgKeyId != null then "signingkey = ${user.gpgKeyId}" else ""}
[core]
editor = /etc/profiles/per-user/${config.pub-solar.user.name}/bin/nvim
excludesFile = /home/${config.pub-solar.user.name}/.config/git/global_gitignore
[alias]
pol = pull
ack = -c color.grep.linenumber=\"bold yellow\"\n -c color.grep.filename=\"bold green\"\n -c color.grep.match=\"reverse yellow\"\n grep --break --heading --line-number

View file

@ -0,0 +1,4 @@
{ config, pkgs, ... }:
let
in
''tags''

View file

@ -32,6 +32,7 @@ in
xdg.mimeApps = import ./mimeapps.nix;
xdg.configFile."git/config".text = import ./.config/git/config.nix { inherit config; inherit pkgs; };
xdg.configFile."git/global_gitignore".text = import ./.config/git/global_gitignore.nix { inherit config; inherit pkgs; };
xdg.configFile."dircolors".source = ./.config/dircolors;
xdg.configFile."xmodmap".source = ./.config/xmodmap;
xdg.configFile."user-dirs.dirs".source = ./.config/user-dirs.dirs;

View file

@ -1,25 +1,26 @@
{
enable = true;
defaultApplications = {
"x-scheme-handler/http" = [ "firefox.desktop" ];
"x-scheme-handler/https" = [ "firefox.desktop" ];
"x-scheme-handler/ftp" = [ "firefox.desktop" ];
"x-scheme-handler/chrome" = [ "firefox.desktop" ];
"text/html" = [ "firefox.desktop" ];
"application/octet-stream" = [ "firefox.desktop" ];
"application/pdf" = [ "org.gnome.Evince.desktop" ];
"application/x-bittorrent" = [ "deluge.desktop" ];
"application/x-extension-htm" = [ "firefox.desktop" ];
"application/x-extension-html" = [ "firefox.desktop" ];
"application/x-extension-shtml" = [ "firefox.desktop" ];
"application/xhtml+xml" = [ "firefox.desktop" ];
"application/x-extension-xhtml" = [ "firefox.desktop" ];
"application/x-extension-xht" = [ "firefox.desktop" ];
"application/xhtml+xml" = [ "firefox.desktop" ];
"image/jpeg" = [ "org.gnome.eog.desktop" ];
"image/png" = [ "org.gnome.eog.desktop" ];
"video/mp4" = [ "vlc.desktop" ];
"text/plain" = [ "firefox.desktop" ];
"x-scheme-handler/mailto" = [ "userapp-Thunderbird.desktop" ];
"message/rfc822" = [ "userapp-Thunderbird.desktop" ];
"application/pdf" = [ "org.gnome.Evince.desktop" ];
"application/x-bittorrent" = [ "deluge.desktop" ];
"text/html" = [ "firefox.desktop" ];
"text/plain" = [ "firefox.desktop" ];
"video/mp4" = [ "vlc.desktop" ];
"x-scheme-handler/chrome" = [ "firefox.desktop" ];
"x-scheme-handler/ftp" = [ "firefox.desktop" ];
"x-scheme-handler/http" = [ "firefox.desktop" ];
"x-scheme-handler/https" = [ "firefox.desktop" ];
"x-scheme-handler/mailto" = [ "userapp-Thunderbird.desktop" ];
"x-scheme-handler/msteams" = [ "teams.desktop" ];
"x-scheme-handler/tg" = [ "userapp-Telegram Desktop-JBKFU0.desktop" ];
};