ensure all networked machines have tmux and ripgrep

This commit is contained in:
Haak Saxberg 2022-08-09 20:30:53 -07:00
parent 51108984e1
commit 819ac7d913
3 changed files with 25 additions and 17 deletions

View file

@ -7,7 +7,8 @@
storage.legacy = { }; storage.legacy = { };
}; };
defaults = { defaults = { pkgs, ... }:
{
imports = [ imports = [
# make sure you have properly added the home-manager channel! # make sure you have properly added the home-manager channel!
<home-manager/nixos> <home-manager/nixos>
@ -21,6 +22,11 @@
(import ../system/framework/keys.nix).ssh.public (import ../system/framework/keys.nix).ssh.public
]; ];
home-manager.users.haak = (import ../home/commandline.nix); home-manager.users.haak = (import ../home/commandline.nix);
environment.systemPackages = with pkgs; [
tmux
ripgrep
];
}; };
server = { server = {

View file

@ -52,9 +52,6 @@
# $ nix search wget # $ nix search wget
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
git git
mullvad-vpn
rtorrent
tmux
vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default. vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
]; ];
@ -76,7 +73,6 @@
# networking.firewall.allowedUDPPorts = [ ... ]; # networking.firewall.allowedUDPPorts = [ ... ];
# Or disable the firewall altogether. # Or disable the firewall altogether.
# networking.firewall.enable = false; # networking.firewall.enable = false;
services.mullvad-vpn.enable = true;
networking.wireguard.enable = true; networking.wireguard.enable = true;
networking.firewall.checkReversePath = "loose"; networking.firewall.checkReversePath = "loose";

View file

@ -26,6 +26,12 @@
fsType = "zfs"; fsType = "zfs";
}; };
fileSystems."/export" =
{
device = "/storage";
options = [ "bind" ];
};
fileSystems."/boot/efi" = fileSystems."/boot/efi" =
{ {
device = "/dev/disk/by-uuid/5099-A753"; device = "/dev/disk/by-uuid/5099-A753";