summaryrefslogtreecommitdiff
path: root/machines/gutter.nix
diff options
context:
space:
mode:
authorKjetil Orbekk <kj@orbekk.com>2021-07-18 08:03:50 -0400
committerKjetil Orbekk <kj@orbekk.com>2021-07-18 08:03:50 -0400
commit0e239e4d2cf4367a1fc57b27d55af213fb43c484 (patch)
tree7d54fe31b29b4d5ea87906188e439e4849095e17 /machines/gutter.nix
parent1ede60c6f5f0edba8918bc06be4b9b18a8834617 (diff)
rename gutter -> tiny1
Diffstat (limited to 'machines/gutter.nix')
-rw-r--r--machines/gutter.nix61
1 files changed, 0 insertions, 61 deletions
diff --git a/machines/gutter.nix b/machines/gutter.nix
deleted file mode 100644
index c5d3acf..0000000
--- a/machines/gutter.nix
+++ /dev/null
@@ -1,61 +0,0 @@
-{ config, lib, pkgs, modulesPath, ... }:
-
-{
- imports =
- [ (modulesPath + "/profiles/qemu-guest.nix")
- ];
-
- orbekk.simple-firewall.enable = true;
- orbekk.simple-firewall.allowedTCPPorts = [ 22 ];
-
- nix.gc.automatic = true;
- nix.gc.options = "--delete-older-than 14d";
-
- networking.hostName = "gutter";
-
- networking.useDHCP = false;
- networking.interfaces.ens3.useDHCP = true;
-
- services.openssh.enable = true;
-
- users.users.root.initialHashedPassword = "";
- users.users.root.openssh.authorizedKeys.keys = ["ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCgvHMjYQ5Ty7Em2Seji6dvYhgQUIbyhiHdzRINYpiOUMuVA8wgJOV0ZggmFFTO5zfJ83m7E5nc/zMuBVHwkx1gJz5ic8YdO9eLIhymQn9R+9fyLA+g+h8uwTi7UlFmQp+My7MYYxdA2tet1wwgm39Yu49mxi8lARUgi4awXn5K/ZFy08GyjGia2E/YKx2gXPKhHsWFKWPO5u8ik0v8AFCliY2wXiG4jkZE2zI0gI5FUp66tpxkaOSZqreH+lVJw+S+GAJIqzGI99zqZsAdpr7m4WALZEYwj9D7/lattSG14CAjXxjqcMSsfi6fV0ZsF1O40eoZ9mNQpIvatXtL6HBSN3kuUfraQMeB8o5kbxwyXt2Fr5hMKtEGYlMv5uPqdn+yHcC51F3RkUxFJplOFwZ3Rh/AjLLMKo+vEtL9UjhTuYiSQ0ySunY5JbBVkJY4z3pLT9MOPnq+KIfBMFBI/eYE6yeMNTHxIFMDaNMFOxWc0SoBDhgZJX5eblYidt/YWMOEPbqJNCrWIzQwtDsiYsF9JS/3D5civwTP/oaASaiJWTAvluwbibMFAC1OSBFb20xM5gD0C1q05pxVMN3Ioy1P0CIvJMLWfQR1yrNbnmoGUGHeSA/gwaxqMg7G+P/SBIheDAYEu5fzXXgFgO3sI8JvIdc1NTJMmHktahb/ecG1MQ== cardno:000605483586"];
-
- boot.loader.efi.canTouchEfiVariables = true;
- boot.loader.grub.enable = true;
- boot.loader.grub.device = "nodev";
- boot.loader.grub.configurationLimit = 2;
- boot.loader.grub.efiSupport = true;
- boot.loader.grub.extraConfig = ''
- GRUB_TERMINAL="serial"
- GRUB_SERIAL_COMMAND="serial --speed=115200 --unit=0 --word=8 --parity=no --stop=1"
- serial --speed 115200 --unit=0
- terminal_input serial
- terminal_output serial
- '';
-
- boot.kernelParams = [ "console=tty0" ''console="ttyS0,115200n8"'' ];
-
- # hardware-configuration.nix
-
- boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "virtio_pci" "virtio_scsi" "sd_mod" ];
- boot.initrd.kernelModules = [ ];
- boot.kernelModules = [ ];
- boot.extraModulePackages = [ ];
-
- fileSystems."/" =
- { device = "/dev/disk/by-uuid/d7ebc418-2cfb-488a-8e96-fd1f51de1c00";
- fsType = "xfs";
- };
-
- fileSystems."/boot" =
- { device = "/dev/disk/by-uuid/2138-EC84";
- fsType = "vfat";
- };
-
- swapDevices =
- [ { device = "/dev/disk/by-uuid/5894afce-3381-410d-8a2c-5760da785151"; }
- ];
-
- system.stateVersion = "21.05";
-}