6 Commits

Author SHA1 Message Date
dabfbc84cb mob next [ci-skip] [ci skip] [skip ci]
lastFile:phones/eris/default.nix
2026-03-05 13:07:11 +07:00
1ccf5febc9 mob next [ci-skip] [ci skip] [skip ci]
lastFile:phones/eris/default.nix
2026-03-05 13:04:46 +07:00
ec0ac3933b mob next [ci-skip] [ci skip] [skip ci]
lastFile:flake.nix
2026-03-05 12:02:45 +07:00
5053c766d1 mob next [ci-skip] [ci skip] [skip ci]
lastFile:flake.lock
2026-03-05 12:02:32 +07:00
4bc135b0ad mob next [ci-skip] [ci skip] [skip ci]
lastFile:phones/default.nix
2026-03-05 11:51:31 +07:00
fb26eef750 mob next [ci-skip] [ci skip] [skip ci]
lastFile:flake.lock
2026-03-05 11:44:30 +07:00
4 changed files with 175 additions and 0 deletions

147
flake.lock generated
View File

@@ -1,5 +1,26 @@
{
"nodes": {
"androidPkgs": {
"inputs": {
"devshell": "devshell_2",
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs_2"
},
"locked": {
"lastModified": 1750710155,
"narHash": "sha256-2lBEwXgclOrSsrhubSfifU91+sXqikC8qbiZ6yFeaEY=",
"owner": "tadfisher",
"repo": "android-nixpkgs",
"rev": "0846fab1f060f646e1017053077ad38dedc5207b",
"type": "github"
},
"original": {
"owner": "tadfisher",
"ref": "stable",
"repo": "android-nixpkgs",
"type": "github"
}
},
"clan-core": {
"inputs": {
"data-mesher": "data-mesher",
@@ -79,6 +100,28 @@
"type": "github"
}
},
"devshell_2": {
"inputs": {
"nixpkgs": [
"robotnix",
"androidPkgs",
"nixpkgs"
]
},
"locked": {
"lastModified": 1741473158,
"narHash": "sha256-kWNaq6wQUbUMlPgw8Y+9/9wP0F8SHkjy24/mN3UAppg=",
"owner": "numtide",
"repo": "devshell",
"rev": "7c9e793ebe66bcba8292989a68c0419b737a22a0",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "devshell",
"type": "github"
}
},
"disko": {
"inputs": {
"nixpkgs": [
@@ -100,6 +143,21 @@
"type": "github"
}
},
"flake-compat": {
"locked": {
"lastModified": 1746162366,
"narHash": "sha256-5SSSZ/oQkwfcAz/o/6TlejlVGqeK08wyREBQ5qFFPhM=",
"owner": "nix-community",
"repo": "flake-compat",
"rev": "0f158086a2ecdbb138cd0429410e44994f1b7e4b",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "flake-compat",
"type": "github"
}
},
"flake-parts": {
"inputs": {
"nixpkgs-lib": [
@@ -120,6 +178,24 @@
"type": "github"
}
},
"flake-utils": {
"inputs": {
"systems": "systems_2"
},
"locked": {
"lastModified": 1731533236,
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"home-manager": {
"inputs": {
"nixpkgs": [
@@ -223,6 +299,61 @@
"type": "github"
}
},
"nixpkgs_2": {
"locked": {
"lastModified": 1750506804,
"narHash": "sha256-VLFNc4egNjovYVxDGyBYTrvVCgDYgENp5bVi9fPTDYc=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "4206c4cb56751df534751b058295ea61357bbbaa",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_3": {
"locked": {
"lastModified": 1767313136,
"narHash": "sha256-16KkgfdYqjaeRGBaYsNrhPRRENs0qzkQVUooNHtoy2w=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "ac62194c3917d5f474c1a844b6fd6da2db95077d",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-25.05",
"repo": "nixpkgs",
"type": "github"
}
},
"robotnix": {
"inputs": {
"androidPkgs": "androidPkgs",
"flake-compat": "flake-compat",
"nixpkgs": "nixpkgs_3",
"treefmt-nix": [
"treefmt-nix"
]
},
"locked": {
"lastModified": 1772653179,
"narHash": "sha256-n+bUVGrgOpkuoHaAJ273wuvdrsrc68YKZWl8E1nMZJ0=",
"owner": "nix-community",
"repo": "robotnix",
"rev": "b5e513ccb503c5bdb97bbaccca178d65082c01c1",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "robotnix",
"type": "github"
}
},
"root": {
"inputs": {
"clan-core": "clan-core",
@@ -232,6 +363,7 @@
"import-tree": "import-tree",
"liminix": "liminix",
"nixpkgs": "nixpkgs",
"robotnix": "robotnix",
"treefmt-nix": "treefmt-nix"
}
},
@@ -271,6 +403,21 @@
"type": "github"
}
},
"systems_2": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
},
"treefmt-nix": {
"inputs": {
"nixpkgs": [

View File

@@ -21,6 +21,10 @@
};
import-tree.url = "github:vic/import-tree";
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
robotnix = {
inputs.treefmt-nix.follows = "treefmt-nix";
url = "github:nix-community/robotnix";
};
treefmt-nix = {
url = "github:numtide/treefmt-nix";
inputs.nixpkgs.follows = "nixpkgs";
@@ -47,6 +51,7 @@
./machines
./routers
./phones
./inventories
./overlays
./tests

6
phones/default.nix Normal file
View File

@@ -0,0 +1,6 @@
{ inputs, ... }:
{
flake.robotnixConfigurations = {
eris = inputs.robotnix.lib.robotnixSystem ./eris/default.nix;
};
}

17
phones/eris/default.nix Normal file
View File

@@ -0,0 +1,17 @@
{ ... }:
{
flavor = "grapheneos";
device = "lynx";
grapheneos = {
channel = "stable";
};
apps.fdroid.enable = true;
# Enables ccache for the build process. Remember to add /var/cache/ccache as
# an additional sandbox path to your Nix config.
ccache.enable = false;
stateVersion = "3";
}