aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/.config
diff options
context:
space:
mode:
authorkdam0 <me@kumardamani.net>2023-03-24 19:50:35 +0000
committerkdam0 <me@kumardamani.net>2023-03-24 19:50:35 +0000
commit200731ddb4a7cebc0ca95929ac9f609cb364e1a1 (patch)
tree498c59fb3fb2ef80598f0c82d520ffb12861d2a2 /nixpkgs/.config
parent41925ef14f34d0eb45aa79ce2afefe174a34c4ca (diff)
routine updates
Diffstat (limited to 'nixpkgs/.config')
-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
+'';
+}