initial commit
This commit is contained in:
commit
0e480bb6b6
36 changed files with 13615 additions and 0 deletions
25
hosts/tailpipe/configuration.nix
Normal file
25
hosts/tailpipe/configuration.nix
Normal file
|
@ -0,0 +1,25 @@
|
|||
{ ... }:
|
||||
{
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
../../common/common.nix
|
||||
];
|
||||
|
||||
boot.cleanTmpDir = true;
|
||||
networking.hostName = "tailpipe";
|
||||
|
||||
networking.interfaces.ens3.ipv4.addresses = [ {
|
||||
address = "188.34.155.206";
|
||||
prefixLength = 32;
|
||||
}];
|
||||
networking.interfaces.ens3.ipv6.addresses = [{
|
||||
address = "2a01:4f8:c010:460a::1";
|
||||
prefixLength = 64;
|
||||
}];
|
||||
networking.defaultGateway6 = {
|
||||
address = "fe80::1";
|
||||
interface = "ens3";
|
||||
};
|
||||
networking.defaultGateway = { address = "172.31.1.1"; interface = "ens3"; };
|
||||
|
||||
}
|
6
hosts/tailpipe/hardware-configuration.nix
Normal file
6
hosts/tailpipe/hardware-configuration.nix
Normal file
|
@ -0,0 +1,6 @@
|
|||
{ modulesPath, ... }:
|
||||
{
|
||||
imports = [ (modulesPath + "/profiles/qemu-guest.nix") ];
|
||||
boot.loader.grub.device = "/dev/sda";
|
||||
fileSystems."/" = { device = "/dev/sda1"; fsType = "ext4"; };
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue