Nix-Config/system/kernighan/kernighan.nix

36 lines
642 B
Nix
Raw Normal View History

2023-07-02 10:28:50 +00:00
{ config, pkgs, inputs, ... }:
{
imports =
[
2023-07-07 07:22:46 +00:00
../shared/shared-configuration.nix
./kernighan-hardware.nix
../shared/services/syncthing.nix
2023-09-27 08:26:55 +00:00
#./services/git.nix
../shared/services/nginx.nix
2023-07-02 10:28:50 +00:00
];
2023-07-06 13:09:04 +00:00
networking = {
hostName = "kernighan";
firewall = {
2023-09-27 08:26:55 +00:00
enable = false;
};
2023-07-06 13:09:04 +00:00
};
2023-07-02 10:28:50 +00:00
2023-09-27 08:26:55 +00:00
boot = {
loader.systemd-boot.enable = true;
loader.efi.canTouchEfiVariables = true;
initrd.kernelModules = [ "virtio_gpu" ];
kernelParams = [ "console=tty" ];
};
2023-07-02 10:28:50 +00:00
environment.systemPackages = with pkgs; [
2023-09-27 10:14:13 +00:00
cifs-utils # To mount Storage Box
2023-07-02 10:28:50 +00:00
git
2023-09-27 12:30:41 +00:00
git-crypt
gnupg
vim
2023-07-02 10:28:50 +00:00
];
}