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";
in {
inherit system;
# Pass these things to our modules.
specialArgs = {
inherit system inputs self;
lib = nixpkgs.lib.extend (final: prev:
@ -113,6 +115,9 @@
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.
nix.settings = {
substituters = [

View File

@ -47,6 +47,12 @@ binding='<Super>Return'
command='alacritty'
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.
[org/gnome/mutter/wayland/keybindings]
restore-shortcuts=@as []

View File

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