aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nixpkgs/.config/nixpkgs/home.nix9
-rw-r--r--nixpkgs/.config/nixpkgs/hosts.nix7
2 files changed, 16 insertions, 0 deletions
diff --git a/nixpkgs/.config/nixpkgs/home.nix b/nixpkgs/.config/nixpkgs/home.nix
index c53a7fd..1f10f88 100644
--- a/nixpkgs/.config/nixpkgs/home.nix
+++ b/nixpkgs/.config/nixpkgs/home.nix
@@ -15,6 +15,7 @@
ll = "ls -al";
".." = "cd ..";
up = "sudo nixos-rebuild switch";
+ clean = "sudo nix-collect-garbage -d";
cdwl = "nvim ~/.config/nixpkgs/dwl/config.h";
chm = "nvim ~/.config/nixpkgs/home.nix";
cnix = "nvim ~/.config/nixpkgs/configuration.nix";
@@ -30,6 +31,14 @@
];
};
};
+ programs.tmux = {
+ enable = true;
+ clock24 = true;
+ shell = "${pkgs.zsh}/bin/zsh";
+ prefix = "C-a";
+ terminal = "screen-256color";
+ keyMode = "vi";
+ };
home.stateVersion = "22.11";
home.packages = [
diff --git a/nixpkgs/.config/nixpkgs/hosts.nix b/nixpkgs/.config/nixpkgs/hosts.nix
new file mode 100644
index 0000000..05b1690
--- /dev/null
+++ b/nixpkgs/.config/nixpkgs/hosts.nix
@@ -0,0 +1,7 @@
+{ config, pkgs, ... }:
+
+{ networking.extraHosts = ''
+# Your /etc/hosts entries go here
+127.0.0.2 other-localhost
+'';
+}