base user: init global gitignore, update mimeapps
This commit is contained in:
parent
d50ef271e6
commit
f45a51805a
|
@ -9,6 +9,7 @@ in
|
||||||
${if user.gpgKeyId != null then "signingkey = ${user.gpgKeyId}" else ""}
|
${if user.gpgKeyId != null then "signingkey = ${user.gpgKeyId}" else ""}
|
||||||
[core]
|
[core]
|
||||||
editor = /etc/profiles/per-user/${config.pub-solar.user.name}/bin/nvim
|
editor = /etc/profiles/per-user/${config.pub-solar.user.name}/bin/nvim
|
||||||
|
excludesFile = /home/${config.pub-solar.user.name}/.config/git/global_gitignore
|
||||||
[alias]
|
[alias]
|
||||||
pol = pull
|
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
|
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
|
||||||
|
|
4
profiles/base-user/.config/git/global_gitignore.nix
Normal file
4
profiles/base-user/.config/git/global_gitignore.nix
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
{ config, pkgs, ... }:
|
||||||
|
let
|
||||||
|
in
|
||||||
|
''tags''
|
|
@ -32,6 +32,7 @@ in
|
||||||
xdg.mimeApps = import ./mimeapps.nix;
|
xdg.mimeApps = import ./mimeapps.nix;
|
||||||
|
|
||||||
xdg.configFile."git/config".text = import ./.config/git/config.nix { inherit config; inherit pkgs; };
|
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."dircolors".source = ./.config/dircolors;
|
||||||
xdg.configFile."xmodmap".source = ./.config/xmodmap;
|
xdg.configFile."xmodmap".source = ./.config/xmodmap;
|
||||||
xdg.configFile."user-dirs.dirs".source = ./.config/user-dirs.dirs;
|
xdg.configFile."user-dirs.dirs".source = ./.config/user-dirs.dirs;
|
||||||
|
|
|
@ -1,25 +1,26 @@
|
||||||
{
|
{
|
||||||
enable = true;
|
enable = true;
|
||||||
defaultApplications = {
|
defaultApplications = {
|
||||||
"x-scheme-handler/http" = [ "firefox.desktop" ];
|
"application/octet-stream" = [ "firefox.desktop" ];
|
||||||
"x-scheme-handler/https" = [ "firefox.desktop" ];
|
"application/pdf" = [ "org.gnome.Evince.desktop" ];
|
||||||
"x-scheme-handler/ftp" = [ "firefox.desktop" ];
|
"application/x-bittorrent" = [ "deluge.desktop" ];
|
||||||
"x-scheme-handler/chrome" = [ "firefox.desktop" ];
|
|
||||||
"text/html" = [ "firefox.desktop" ];
|
|
||||||
"application/x-extension-htm" = [ "firefox.desktop" ];
|
"application/x-extension-htm" = [ "firefox.desktop" ];
|
||||||
"application/x-extension-html" = [ "firefox.desktop" ];
|
"application/x-extension-html" = [ "firefox.desktop" ];
|
||||||
"application/x-extension-shtml" = [ "firefox.desktop" ];
|
"application/x-extension-shtml" = [ "firefox.desktop" ];
|
||||||
"application/xhtml+xml" = [ "firefox.desktop" ];
|
|
||||||
"application/x-extension-xhtml" = [ "firefox.desktop" ];
|
"application/x-extension-xhtml" = [ "firefox.desktop" ];
|
||||||
"application/x-extension-xht" = [ "firefox.desktop" ];
|
"application/x-extension-xht" = [ "firefox.desktop" ];
|
||||||
|
"application/xhtml+xml" = [ "firefox.desktop" ];
|
||||||
"image/jpeg" = [ "org.gnome.eog.desktop" ];
|
"image/jpeg" = [ "org.gnome.eog.desktop" ];
|
||||||
"image/png" = [ "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" ];
|
"message/rfc822" = [ "userapp-Thunderbird.desktop" ];
|
||||||
"application/pdf" = [ "org.gnome.Evince.desktop" ];
|
"text/html" = [ "firefox.desktop" ];
|
||||||
"application/x-bittorrent" = [ "deluge.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/msteams" = [ "teams.desktop" ];
|
||||||
"x-scheme-handler/tg" = [ "userapp-Telegram Desktop-JBKFU0.desktop" ];
|
"x-scheme-handler/tg" = [ "userapp-Telegram Desktop-JBKFU0.desktop" ];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue