Setup Commit
This commit is contained in:
commit
289b69d342
23 changed files with 728 additions and 0 deletions
29
hosts/servers/blades/3-gamma/default.nix
Normal file
29
hosts/servers/blades/3-gamma/default.nix
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
{
|
||||
imports = [
|
||||
../../../../modules/k3s
|
||||
];
|
||||
|
||||
networking.hostName = "gamma";
|
||||
|
||||
nyxs-nix.services.k3s = {
|
||||
enable = true;
|
||||
initServer = true;
|
||||
};
|
||||
|
||||
systemd.network.links."10-eth0" = {
|
||||
matchConfig.PermanentMACAddress = "00:25:90:e6:e1:09";
|
||||
linkConfig.Name = "eth0";
|
||||
};
|
||||
|
||||
fileSystems."/" = {
|
||||
device = "/dev/disk/by-uuid/8d8325bb-b5ba-469b-8054-b295bbbc70c2";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
fileSystems."/boot" = {
|
||||
device = "/dev/disk/by-uuid/0954-3305";
|
||||
fsType = "vfat";
|
||||
options = [ "fmask=0077" "dmask=0077" ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue