From 3ff6eaf6677bc26bb60e6c7e3da7fe94866a2abf Mon Sep 17 00:00:00 2001 From: Matthew Ess Date: Sun, 10 Jan 2021 23:44:24 -0500 Subject: [PATCH] More stuff --- profiles/laptop.nix | 3 ++- profiles/local.nix | 6 ++++++ profiles/server.nix | 2 +- users/mat-hm.nix | 8 ++++++++ 4 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 profiles/local.nix diff --git a/profiles/laptop.nix b/profiles/laptop.nix index 32f4595..16e057a 100644 --- a/profiles/laptop.nix +++ b/profiles/laptop.nix @@ -2,7 +2,8 @@ { - imports = [ ./common.nix ./graphical.nix ../users/mat-hm-laptop.nix ]; + imports = + [ ./common.nix ./local.nix ./graphical.nix ../users/mat-hm-laptop.nix ]; # enable power management powerManagement.enable = true; diff --git a/profiles/local.nix b/profiles/local.nix new file mode 100644 index 0000000..f25f713 --- /dev/null +++ b/profiles/local.nix @@ -0,0 +1,6 @@ +{ config, ... }: { + networking.hosts = { + "192.168.1.246" = [ "gagarin.local" ]; + "192.168.1.165" = [ "pi.hole" ]; + }; +} diff --git a/profiles/server.nix b/profiles/server.nix index 487500d..e1c7ab0 100644 --- a/profiles/server.nix +++ b/profiles/server.nix @@ -2,6 +2,6 @@ { - imports = [ ./common.nix ]; + imports = [ ./common.nix ./local.nix ]; } diff --git a/users/mat-hm.nix b/users/mat-hm.nix index c4efeb6..90bb026 100644 --- a/users/mat-hm.nix +++ b/users/mat-hm.nix @@ -106,6 +106,14 @@ in { newSession = true; shortcut = "a"; baseIndex = 1; + terminal = "tmux-256color"; + extraConfig = '' + set -g mouse on + setw -g pane-base-index 1 + unbind % + bind | split-window -h + bind _ split-window -v + ''; }; };