From 200731ddb4a7cebc0ca95929ac9f609cb364e1a1 Mon Sep 17 00:00:00 2001 From: kdam0 Date: Fri, 24 Mar 2023 15:50:35 -0400 Subject: routine updates --- nixpkgs/.config/nixpkgs/home.nix | 9 +++++++++ nixpkgs/.config/nixpkgs/hosts.nix | 7 +++++++ 2 files changed, 16 insertions(+) create mode 100644 nixpkgs/.config/nixpkgs/hosts.nix 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 +''; +} -- cgit v1.2.3