aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-02-09 17:16:57 -0800
committerFranck Cuny <franck@fcuny.net>2022-02-09 17:16:57 -0800
commitbac10e111c0f5882cc4e1f86d0dd1b05fdb9d6e5 (patch)
tree2e10cb7122b42b2f126478cda67656765fc0915b /modules
parentssh: new module for managing ssh (diff)
downloadinfra-bac10e111c0f5882cc4e1f86d0dd1b05fdb9d6e5.tar.gz
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.
Diffstat (limited to 'modules')
-rw-r--r--modules/desktop/xserver.nix8
-rw-r--r--modules/systems/default.nix8
2 files changed, 16 insertions, 0 deletions
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";
+ };
}