about summary refs log tree commit diff
path: root/hosts/aptos
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/aptos')
-rw-r--r--hosts/aptos/default.nix65
-rw-r--r--hosts/aptos/hardware.nix44
-rw-r--r--hosts/aptos/home.nix8
-rw-r--r--hosts/aptos/secrets/restic/repo-users.agebin573 -> 0 bytes
-rw-r--r--hosts/aptos/secrets/restic/ssh-key.agebin829 -> 0 bytes
-rw-r--r--hosts/aptos/secrets/secrets.nix28
-rw-r--r--hosts/aptos/secrets/syncthing/cert.agebin1266 -> 0 bytes
-rw-r--r--hosts/aptos/secrets/syncthing/key.agebin788 -> 0 bytes
-rw-r--r--hosts/aptos/secrets/wireguard_privatekey.age12
9 files changed, 0 insertions, 157 deletions
diff --git a/hosts/aptos/default.nix b/hosts/aptos/default.nix
deleted file mode 100644
index 863e995..0000000
--- a/hosts/aptos/default.nix
+++ /dev/null
@@ -1,65 +0,0 @@
-{ self, config, lib, ... }:
-let
-  secrets = config.age.secrets;
-  ssh-key-path = secrets."restic/ssh-key".path;
-in
-{
-  imports = [
-    ./hardware.nix
-    "${self}/profiles/btrfs.nix"
-    "${self}/profiles/documentation.nix"
-    "${self}/profiles/laptop.nix"
-    "${self}/profiles/syncthing.nix"
-    "${self}/profiles/hardware/xps9300.nix"
-  ];
-
-  # Use systemd-networkd for networking
-  systemd.network.enable = true;
-  systemd.network.networks.wlan0 = {
-    matchConfig.Name = "wlan0";
-    networkConfig.DHCP = "yes";
-    dhcpV4Config = {
-      UseDNS = "yes";
-      UseDomains = "yes";
-    };
-  };
-
-  networking.useNetworkd = true;
-  networking.useDHCP = false;
-  networking.private-wireguard.enable = true;
-
-  services.nscd.enable = false;
-  system.nssModules = lib.mkForce [ ];
-
-  my.services.backup = {
-    enable = true;
-    repository = "sftp:192.168.6.40:/${config.networking.hostName}";
-    exclude = [
-      # paths that I don't want to backup
-      "/home/fcuny/workspace/tmp"
-
-      # various development related files
-      "**/target"
-      "**/.direnv"
-      "**/result"
-    ];
-    timerConfig = { OnCalendar = "06:30"; };
-    passwordFile = secrets."restic/repo-users".path;
-    extraOptions = [
-      "sftp.command='ssh backup@192.168.6.40 -i ${ssh-key-path} -s sftp'"
-    ];
-    paths = [
-      "/home/fcuny/workspace"
-      "/home/fcuny/media"
-      "/home/fcuny/documents"
-    ];
-  };
-
-  # This value determines the NixOS release from which the default
-  # settings for stateful data, like file locations and database versions
-  # on your system were taken. It‘s perfectly fine and recommended to leave
-  # this value at the release version of the first install of this system.
-  # Before changing this value read the documentation for this option
-  # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
-  system.stateVersion = "23.05"; # Did you read the comment?
-}
diff --git a/hosts/aptos/hardware.nix b/hosts/aptos/hardware.nix
deleted file mode 100644
index 01e2a96..0000000
--- a/hosts/aptos/hardware.nix
+++ /dev/null
@@ -1,44 +0,0 @@
-# Do not modify this file!  It was generated by ‘nixos-generate-config’
-# and may be overwritten by future invocations.  Please make changes
-# to /etc/nixos/configuration.nix instead.
-{ config, lib, pkgs, modulesPath, ... }:
-
-{
-  imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
-
-  boot.initrd.availableKernelModules =
-    [ "xhci_pci" "nvme" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
-  boot.extraModulePackages = [ ];
-
-  fileSystems."/" = {
-    device = "/dev/disk/by-uuid/292e07ac-4199-4a97-94a6-bd2fd2a9cf6a";
-    fsType = "btrfs";
-    options = [ "subvol=nixos" ];
-  };
-
-  boot.initrd.luks.devices."system".allowDiscards = true;
-  boot.initrd.luks.devices."system".device =
-    "/dev/disk/by-uuid/c83a8db7-4215-4864-8a46-b8ca839d8c05";
-
-  fileSystems."/home" = {
-    device = "/dev/disk/by-uuid/292e07ac-4199-4a97-94a6-bd2fd2a9cf6a";
-    fsType = "btrfs";
-    options = [ "subvol=home" ];
-  };
-
-  fileSystems."/.snapshots" = {
-    device = "/dev/disk/by-uuid/292e07ac-4199-4a97-94a6-bd2fd2a9cf6a";
-    fsType = "btrfs";
-    options = [ "subvol=snapshots" ];
-  };
-
-  fileSystems."/boot" = {
-    device = "/dev/disk/by-uuid/42D9-6EA8";
-    fsType = "vfat";
-  };
-
-  swapDevices =
-    [{ device = "/dev/disk/by-uuid/24041034-ff39-44bf-a04c-8fd8318b554d"; }];
-
-  powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
-}
diff --git a/hosts/aptos/home.nix b/hosts/aptos/home.nix
deleted file mode 100644
index e4ce2ec..0000000
--- a/hosts/aptos/home.nix
+++ /dev/null
@@ -1,8 +0,0 @@
-{ self, ... }: {
-  imports = [
-    "${self}/home/profiles/home.nix"
-    "${self}/home/profiles/workstation.nix"
-    "${self}/home/profiles/sway.nix"
-    "${self}/home/profiles/matrix.nix"
-  ];
-}
diff --git a/hosts/aptos/secrets/restic/repo-users.age b/hosts/aptos/secrets/restic/repo-users.age
deleted file mode 100644
index d41fd40..0000000
--- a/hosts/aptos/secrets/restic/repo-users.age
+++ /dev/null
Binary files differdiff --git a/hosts/aptos/secrets/restic/ssh-key.age b/hosts/aptos/secrets/restic/ssh-key.age
deleted file mode 100644
index 05024cf..0000000
--- a/hosts/aptos/secrets/restic/ssh-key.age
+++ /dev/null
Binary files differdiff --git a/hosts/aptos/secrets/secrets.nix b/hosts/aptos/secrets/secrets.nix
deleted file mode 100644
index 21aae44..0000000
--- a/hosts/aptos/secrets/secrets.nix
+++ /dev/null
@@ -1,28 +0,0 @@
-let
-  root = "age1g3hjfg8rsyaunsa63q73flxt0rnmqng5mvjk5qywsu0xjvuwq5rsmuxk35";
-  fcuny = "age1keyvdhpspgqp4g5zjthdphau5q5qlt6fs0ex0wqnve66dmup9pzqn4sakj";
-  backup = "age1fh4960rdrk4d7m4c5lwd3trvw9ylk09dvucj2gd2udy7d5cz2a0svcqws6";
-in
-{
-  "wireguard_privatekey.age".publicKeys = [ root fcuny backup ];
-
-  "syncthing/key.age" = {
-    publicKeys = [ root fcuny backup ];
-    owner = "fcuny";
-  };
-
-  "syncthing/cert.age" = {
-    publicKeys = [ root fcuny backup ];
-    owner = "fcuny";
-  };
-
-  "restic/repo-users.age" = {
-    publicKeys = [ root fcuny backup ];
-    owner = "fcuny";
-  };
-
-  "restic/ssh-key.age" = {
-    publicKeys = [ root fcuny backup ];
-    owner = "fcuny";
-  };
-}
diff --git a/hosts/aptos/secrets/syncthing/cert.age b/hosts/aptos/secrets/syncthing/cert.age
deleted file mode 100644
index 643c161..0000000
--- a/hosts/aptos/secrets/syncthing/cert.age
+++ /dev/null
Binary files differdiff --git a/hosts/aptos/secrets/syncthing/key.age b/hosts/aptos/secrets/syncthing/key.age
deleted file mode 100644
index ccce5f9..0000000
--- a/hosts/aptos/secrets/syncthing/key.age
+++ /dev/null
Binary files differdiff --git a/hosts/aptos/secrets/wireguard_privatekey.age b/hosts/aptos/secrets/wireguard_privatekey.age
deleted file mode 100644
index 9432fec..0000000
--- a/hosts/aptos/secrets/wireguard_privatekey.age
+++ /dev/null
@@ -1,12 +0,0 @@
-age-encryption.org/v1
--> X25519 cF4f+dR4+vxS/hQd1WoZZunRirr35gR1fYVWuh1nwQE
-UY5m7yloCfck7OVVliGX68zxh0QuvTSv7nxlnC5m1B4
--> X25519 zxKJdMAMaZ5aCwyJMm+pqM/11yMus75bjfou0pzGTgA
-PedPmd2sI7rY8QETLY50IaFFeeS+IHewRpk8NX/MiRw
--> X25519 Hz9sZ8VVQ8Mg8cksHMzn+V1NRMcahjIrq+n0LKnHhmw
-okLZa9YEQ8y3kRB0nQwtMx4OA9dIOYRt+E3O3BOkteA
--> BG8F-grease
-3+ZxToXbRMhNaEH0KPXOEizBGesGGPTxVlGyHEnMJH63XdYk9DRiTfxt/FmN/K70
-LX+XL+LFIphYxtU2JZgFDdmpsH0
---- vYsrZk3u29yzp9f8mTYPQn8Eie7xWYTq0Kh3Wp6MEaI
-LWD`ʬx2,zm+W908əhVXU*l_$lۓ}]EӣVIC
\ No newline at end of file