forked from katzen-cafe/katzen-cafe
continuing things
This commit is contained in:
parent
6c2fea3b2f
commit
bce60dc872
9 changed files with 156 additions and 45 deletions
|
@ -2,9 +2,30 @@
|
|||
{
|
||||
networking.hostName = "katzen-cafe";
|
||||
|
||||
networking.firewall = {
|
||||
allowedTCPPorts = [ 22 80 443 ];
|
||||
};
|
||||
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = false;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||
boot.kernelParams = [ "console=tty" ];
|
||||
boot.initrd.kernelModules = [ "virtio_gpu" ];
|
||||
|
||||
users.users.april = {
|
||||
isNormalUser = true;
|
||||
packages = with pkgs; [ podman ];
|
||||
createHome = true;
|
||||
};
|
||||
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
permitRootLogin = "prohibit-password";
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
neovim wget neofetch
|
||||
];
|
||||
|
||||
fileSystems."/" = {
|
||||
device = "/dev/sda1";
|
||||
|
@ -17,6 +38,6 @@
|
|||
};
|
||||
|
||||
swapDevices = [ {
|
||||
device = "/dev/disk/by-uuid/9cb23bf3-128c-4847-8f72-f14f4aaa5026";
|
||||
device = "/dev/sda2";
|
||||
} ];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue