set up basics

This commit is contained in:
Schrottkatze 2023-04-25 18:36:26 +02:00
parent 979b78bafc
commit 6c2fea3b2f
3 changed files with 25 additions and 0 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
.direnv/

View file

@ -27,7 +27,9 @@
imports = [
./modules/proxy.nix
./modules/jitsi.nix
./modules/base-stuff.nix
];
system.stateVersion = "22.11";
};
};

22
modules/base-stuff.nix Normal file
View file

@ -0,0 +1,22 @@
{ pkgs, ... }:
{
networking.hostName = "katzen-cafe";
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = false;
boot.kernelPackages = pkgs.linuxPackages_latest;
fileSystems."/" = {
device = "/dev/sda1";
fsType = "ext4";
};
fileSystems."/boot" = {
device = "/dev/sda3";
fsType = "vfat";
};
swapDevices = [ {
device = "/dev/disk/by-uuid/9cb23bf3-128c-4847-8f72-f14f4aaa5026";
} ];
}