Added more to the base tooling.

This commit is contained in:
James Patrick 2021-12-15 00:11:38 -05:00
parent 2d7868490c
commit ffc2762249
3 changed files with 30 additions and 3 deletions

View File

@ -1,4 +1,10 @@
{ config, pkgs, ... }: {
environment.systemPackages = with pkgs; [ htop ripgrep jq silver-searcher ];
environment.systemPackages = with pkgs; [
htop
ripgrep
jq
unzip
silver-searcher
];
}

View File

@ -1,8 +1,7 @@
# This was cribed from Hlisser's dotfiles see here
# https://github.com/hlissner/dotfiles/blob/8fe1fbb6e7fc0d2f95fe75cdb9df7eb0595a0047/modules/xdg.nix
#
{ config, pkgs, ... }: {
{ config, pkgs, ... }: {
home-manager.users.james = {
home.packages = with pkgs; [ xdg-utils xdg-launch ];
xdg.enable = true;

22
modules/system/zfs.nix Normal file
View File

@ -0,0 +1,22 @@
{ config, pkgs, ... }: {
boot = {
supportedFilesystems = [ "zfs" ];
zfs = {
forceImportRoot = false;
forceImportAll = false;
};
# this was required for the initial setup of the zpool.
# see https://nixos.org/nixos/options.html#boot.zfs.forceimportroot
# kernelParams = ["zfs_force=1"];
};
services.zfs = {
autoScrub.enable = true;
# enable default auto-snapshots
autoSnapshot = {
enable = true;
flags = "-k -p --utc";
};
};
}