Update various files

This commit is contained in:
Gabriel Arazas 2022-02-05 18:58:42 +08:00
parent f9589f2ca1
commit c753ff5294
3 changed files with 17 additions and 0 deletions

View File

@ -89,6 +89,8 @@
system = "x86_64-linux"; system = "x86_64-linux";
in { in {
inherit system; inherit system;
# Pass these things to our modules.
specialArgs = { specialArgs = {
inherit system inputs self; inherit system inputs self;
lib = nixpkgs.lib.extend (final: prev: lib = nixpkgs.lib.extend (final: prev:
@ -113,6 +115,9 @@
nixos-generators.flake = inputs.nixos-generators; nixos-generators.flake = inputs.nixos-generators;
}; };
# We may as well live on the BLEEDING EDGE!
nix.package = nixpkgs.legacyPackages.${system}.nixUnstable;
# Set several binary caches. # Set several binary caches.
nix.settings = { nix.settings = {
substituters = [ substituters = [

View File

@ -47,6 +47,12 @@ binding='<Super>Return'
command='alacritty' command='alacritty'
name='Terminal' name='Terminal'
# The equivalent to the newspaper in the morning.
[org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom1]
binding='<Shift><Super>r'
command='nix run nixpkgs#alacritty -- -e nix run nixpkgs#newsboat'
name='News aggregator'
# We don't want to restore them shortcuts. # We don't want to restore them shortcuts.
[org/gnome/mutter/wayland/keybindings] [org/gnome/mutter/wayland/keybindings]
restore-shortcuts=@as [] restore-shortcuts=@as []

View File

@ -127,6 +127,11 @@ in {
bleachbit.enable = true; bleachbit.enable = true;
}; };
home.sessionVariables = {
MANPAGER = "nvim +Man!";
EDITOR = "nvim";
};
# WHOA! Even browsers with extensions can be declarative! # WHOA! Even browsers with extensions can be declarative!
programs.brave = { programs.brave = {
enable = true; enable = true;
@ -138,6 +143,7 @@ in {
{ id = "egpjdkipkomnmjhjmdamaniclmdlobbo"; } # Firenvim { id = "egpjdkipkomnmjhjmdamaniclmdlobbo"; } # Firenvim
{ id = "gknkbkaapnhpmkcgkmdekdffgcddoiel"; } # Open Access Button { id = "gknkbkaapnhpmkcgkmdekdffgcddoiel"; } # Open Access Button
{ id = "fpnmgdkabkmnadcjpehmlllkndpkmiak"; } # Wayback Machine { id = "fpnmgdkabkmnadcjpehmlllkndpkmiak"; } # Wayback Machine
{ id = "gphhapmejobijbbhgpjhcjognlahblep"; } # GNOME Shell integration
]; ];
}; };