move things out of common into valefar
This commit is contained in:
parent
eabc37fb13
commit
ca882853ff
3 changed files with 13 additions and 15 deletions
|
@ -31,7 +31,19 @@
|
||||||
boot.supportedFilesystems = [ "zfs" ];
|
boot.supportedFilesystems = [ "zfs" ];
|
||||||
boot.kernelModules = [ "nct6775" "coretemp" ];
|
boot.kernelModules = [ "nct6775" "coretemp" ];
|
||||||
|
|
||||||
|
services.zfs.autoScrub.enable = true;
|
||||||
|
services.zfs.trim.enable = true;
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
lm_sensors
|
lm_sensors
|
||||||
|
code-server
|
||||||
];
|
];
|
||||||
|
|
||||||
|
virtualisation.docker = {
|
||||||
|
enable = true;
|
||||||
|
enableOnBoot = true;
|
||||||
|
package = pkgs.docker.override {
|
||||||
|
buildGoModule = pkgs.buildGo123Module;
|
||||||
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -14,18 +14,9 @@
|
||||||
parted
|
parted
|
||||||
zfs
|
zfs
|
||||||
|
|
||||||
code-server
|
|
||||||
sqlite
|
sqlite
|
||||||
];
|
];
|
||||||
|
|
||||||
virtualisation.docker = {
|
|
||||||
enable = true;
|
|
||||||
enableOnBoot = true;
|
|
||||||
package = pkgs.docker.override {
|
|
||||||
buildGoModule = pkgs.buildGo123Module;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
services.openssh.enable = true;
|
services.openssh.enable = true;
|
||||||
services.printing.enable = true;
|
services.printing.enable = true;
|
||||||
services.tailscale.enable = true;
|
services.tailscale.enable = true;
|
||||||
|
|
|
@ -4,15 +4,10 @@
|
||||||
boot.loader.systemd-boot.enable = true;
|
boot.loader.systemd-boot.enable = true;
|
||||||
boot.loader.efi.canTouchEfiVariables = true;
|
boot.loader.efi.canTouchEfiVariables = true;
|
||||||
boot.kernel.sysctl."net.ipv4.ip_forward" = 1;
|
boot.kernel.sysctl."net.ipv4.ip_forward" = 1;
|
||||||
boot.supportedFilesystems = [ "zfs" ];
|
|
||||||
fileSystems."/boot".options = [ "umask=0077" ];
|
fileSystems."/boot".options = [ "umask=0077" ];
|
||||||
|
|
||||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||||
|
|
||||||
|
|
||||||
services.zfs.autoScrub.enable = true;
|
|
||||||
services.zfs.trim.enable = true;
|
|
||||||
|
|
||||||
networking = {
|
networking = {
|
||||||
firewall.enable = false;
|
firewall.enable = false;
|
||||||
firewall.trustedInterfaces = [
|
firewall.trustedInterfaces = [
|
||||||
|
@ -31,7 +26,7 @@
|
||||||
dnsovertls = "true";
|
dnsovertls = "true";
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.variables.EDITOR = "neovim";
|
environment.variables.EDITOR = "vim";
|
||||||
|
|
||||||
time.timeZone = "America/New_York";
|
time.timeZone = "America/New_York";
|
||||||
i18n.defaultLocale = "en_US.UTF-8";
|
i18n.defaultLocale = "en_US.UTF-8";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue