Skip to content
This repository was archived by the owner on Aug 16, 2025. It is now read-only.

Commit 792fe98

Browse files
committed
Add nixdevbox, prepare for deprication.
1 parent 30b19e3 commit 792fe98

File tree

22 files changed

+186
-335
lines changed

22 files changed

+186
-335
lines changed

‎core/nixos.nix‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,6 @@ in {
3232

3333
networking = {
3434
hostName = hostname;
35-
firewall = {
36-
enable = true;
37-
};
3835

3936
nameservers = ["1.1.1.1" "8.8.8.8"];
4037
# If using dhcpcd:

‎flake.lock‎

Lines changed: 72 additions & 38 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎hosts.nix‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ let
1515
}
1616
else {};
1717
in {
18-
euclid = mkHost {
18+
nixdevbox = mkHost {
1919
type = "nixos";
20-
address = "192.168.50.32";
20+
address = "127.0.0.1";
2121
hostPlatform = "x86_64-linux";
22-
pubkey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKo0M3BPWGIN02fUlqewx17qyMjANUmZTY13XINzXnQR root@euclid";
22+
pubkey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILkLTFzpyGkbQEITzX339RMnJq3EYsSULd5Wayggjh4R root@nixdevbox";
2323
};
2424
}

‎hosts/euclid/default.nix‎

Lines changed: 0 additions & 40 deletions
This file was deleted.

‎hosts/euclid/hardware-configuration.nix‎

Lines changed: 0 additions & 72 deletions
This file was deleted.

‎hosts/nixdevbox/default.nix‎

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
config,
3+
lib,
4+
pkgs,
5+
...
6+
}: {
7+
imports = [
8+
../../hardware/yubikey.nix
9+
./hardware-configuration.nix
10+
./state.nix
11+
];
12+
13+
boot.loader.systemd-boot.enable = true;
14+
boot.loader.efi.canTouchEfiVariables = true;
15+
16+
foehammer = {
17+
user.enable = true;
18+
};
19+
20+
time.timeZone = "America/Chicago";
21+
22+
i18n.defaultLocale = "en_US.UTF-8";
23+
24+
system.stateVersion = "24.11";
25+
26+
networking.firewall.enable = false;
27+
}

0 commit comments

Comments
 (0)