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 + ''; }; };