Added more to the base tooling.
This commit is contained in:
parent
2d7868490c
commit
ffc2762249
|
@ -1,4 +1,10 @@
|
||||||
{ config, pkgs, ... }: {
|
{ config, pkgs, ... }: {
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [ htop ripgrep jq silver-searcher ];
|
environment.systemPackages = with pkgs; [
|
||||||
|
htop
|
||||||
|
ripgrep
|
||||||
|
jq
|
||||||
|
unzip
|
||||||
|
silver-searcher
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,8 +1,7 @@
|
||||||
# This was cribed from Hlisser's dotfiles see here
|
# This was cribed from Hlisser's dotfiles see here
|
||||||
# https://github.com/hlissner/dotfiles/blob/8fe1fbb6e7fc0d2f95fe75cdb9df7eb0595a0047/modules/xdg.nix
|
# https://github.com/hlissner/dotfiles/blob/8fe1fbb6e7fc0d2f95fe75cdb9df7eb0595a0047/modules/xdg.nix
|
||||||
#
|
|
||||||
{ config, pkgs, ... }: {
|
|
||||||
|
|
||||||
|
{ config, pkgs, ... }: {
|
||||||
home-manager.users.james = {
|
home-manager.users.james = {
|
||||||
home.packages = with pkgs; [ xdg-utils xdg-launch ];
|
home.packages = with pkgs; [ xdg-utils xdg-launch ];
|
||||||
xdg.enable = true;
|
xdg.enable = true;
|
||||||
|
|
22
modules/system/zfs.nix
Normal file
22
modules/system/zfs.nix
Normal 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";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
Reference in New Issue
Block a user