From bac10e111c0f5882cc4e1f86d0dd1b05fdb9d6e5 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Wed, 9 Feb 2022 17:16:57 -0800 Subject: hosts: remove / clean code There's a lot of commented stuff I don't need, and move things that are configured in the host into modules, which will improve re-usability and readability of this configuration. --- modules/desktop/xserver.nix | 8 ++++++++ modules/systems/default.nix | 8 ++++++++ 2 files changed, 16 insertions(+) (limited to 'modules') diff --git a/modules/desktop/xserver.nix b/modules/desktop/xserver.nix index 894b39b..c19948f 100644 --- a/modules/desktop/xserver.nix +++ b/modules/desktop/xserver.nix @@ -21,6 +21,14 @@ }; }; + programs.gnupg.agent = { + enable = true; + enableSSHSupport = true; + }; + + environment.sessionVariables.TERMINAL = [ "alacritty" ]; + environment.sessionVariables.TERM = [ "xterm-256color" ]; + services.gnome.gnome-keyring.enable = true; services.gvfs.enable = true; } diff --git a/modules/systems/default.nix b/modules/systems/default.nix index 3cbe456..d69e31a 100644 --- a/modules/systems/default.nix +++ b/modules/systems/default.nix @@ -2,5 +2,13 @@ imports = [ ./nix.nix ./software.nix + ./ssh.nix ]; + + # Select internationalisation properties. + i18n.defaultLocale = "en_US.UTF-8"; + console = { + font = "Lat2-Terminus16"; + keyMap = "us"; + }; } -- cgit 1.4.1