Skip to content
This repository was archived by the owner on Jul 6, 2024. It is now read-only.

Commit c7fea4b

Browse files
committed
feat: Nix Omni
1 parent 201c691 commit c7fea4b

File tree

5 files changed

+9
-4
lines changed

5 files changed

+9
-4
lines changed

.github/workflows/nix-build.yml

+2
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ jobs:
2020
os: macos-14
2121
- system: nas
2222
os: ubuntu-22.04
23+
- system: omni
24+
os: ubuntu-22.04
2325
runs-on: ${{ matrix.os }}
2426
steps:
2527
- name: Checkout repository

deploy.nix

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ in
2424
{
2525
deploy.nodes = {
2626
nas = deployConfig "nas" "x86_64-linux" {sshUser = "todd"; remoteBuild = true;};
27+
omni = deployConfig "omni" "x86_64-linux" {sshUser = "todd"; remoteBuild = true;};
2728
};
2829
checks = builtins.mapAttrs (system: deployLib: deployLib.deployChecks self.deploy) deploy-rs.lib;
2930
}

flake.nix

+1
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@
100100

101101
nixosConfigurations = {
102102
nas = mkSystemLib.mkNixosSystem "x86_64-linux" "nas" overlays flake-packages;
103+
omni = mkSystemLib.mkNixosSystem "x86_64-linux" "omni" overlays flake-packages;
103104
};
104105

105106
darwinConfigurations = {

homes/todd/default.nix

+4-3
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,12 @@
6868
ssh = {
6969
enable = true;
7070
matchBlocks = {
71-
"gateway.greyrock.io" = {
71+
"nas.greyrock.io" = {
7272
port = 22;
73-
user = "vyos";
73+
user = "todd";
74+
forwardAgent = true;
7475
};
75-
"nas.greyrock.io" = {
76+
"omni.greyrock.io" = {
7677
port = 22;
7778
user = "todd";
7879
forwardAgent = true;

hosts/nas/default.nix

+1-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ in
107107

108108
users = {
109109
additionalUsers = {
110-
manyie = {
110+
andy = {
111111
isNormalUser = true;
112112
extraGroups = ifGroupsExist [
113113
"samba-users"

0 commit comments

Comments
 (0)