Terminal shortcut nixOS (Ctrl+Alt+T)

This is a guide to allow you to open a Gnome terminal in NixOS via a shortcut (the default one in ubuntu) First add this config to your configuration.nix : programs.dconf = { enable = true; profiles.user.databases = [ { settings = { "org/gnome/settings-daemon/plugins/media-keys" = { custom-keybindings = [ "/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/" ]; }; "org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0" = { binding = "<Ctrl><Alt>t"; command = "kgx"; name = "GNOME Console"; }; }; lockAll = true; } ]; }; Then rebuild nixOS via : ...

November 9, 2024 Â· 105 words

Setup Pixma TS 5050 driver for NixOS

I struggled to launch a print job from NixOS on My Canon Pixma TS5050. The solution is actually very simple (credit to this post). You just need to add this to you configuration.nix : {config, pkgs, ... }: { # ... services.printing = { enable = true; drivers = [ pkgs.cnijfilter2 ]; }; # ... } and then rebuild your system with : sudo nixos-rebuild switch And that’s it ! Environnement Nix 2.18.8 NixOS 24.05 Canon Pixma TS5050

November 9, 2024 Â· 78 words