aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2025-12-07 12:33:17 -0800
committerFranck Cuny <franck@fcuny.net>2025-12-07 12:33:17 -0800
commitcfe16b41e203468fd669d9507e2917d0f9bd7a7d (patch)
tree5bf7a59d9a0a232470c9d93f16b7301b811b857a
parentboot configuration for nixos (diff)
downloadinfra-cfe16b41e203468fd669d9507e2917d0f9bd7a7d.tar.gz
test the buildfcuny/jovian
-rw-r--r--flake.lock57
-rw-r--r--flake.nix6
-rw-r--r--flake/hosts.nix1
-rw-r--r--machines/nixos/x86_64-linux/rivendell.nix16
4 files changed, 80 insertions, 0 deletions
diff --git a/flake.lock b/flake.lock
index 59f1bfa..38249c8 100644
--- a/flake.lock
+++ b/flake.lock
@@ -283,6 +283,27 @@
"type": "github"
}
},
+ "jovian": {
+ "inputs": {
+ "nix-github-actions": "nix-github-actions",
+ "nixpkgs": [
+ "nixpkgs-unstable"
+ ]
+ },
+ "locked": {
+ "lastModified": 1764922999,
+ "narHash": "sha256-LSvUxKm6S6ZAd/otQSkAHd3+8KJhi8OwGJGSe0K//B8=",
+ "owner": "Jovian-Experiments",
+ "repo": "Jovian-NixOS",
+ "rev": "9b9ead1b5591b68f4048e7205ba1397bc85ce6c4",
+ "type": "github"
+ },
+ "original": {
+ "owner": "Jovian-Experiments",
+ "repo": "Jovian-NixOS",
+ "type": "github"
+ }
+ },
"my-go-tools": {
"inputs": {
"flake-utils": "flake-utils",
@@ -304,6 +325,28 @@
"url": "https://code.fcuny.net/x"
}
},
+ "nix-github-actions": {
+ "inputs": {
+ "nixpkgs": [
+ "jovian",
+ "nixpkgs"
+ ]
+ },
+ "locked": {
+ "lastModified": 1729697500,
+ "narHash": "sha256-VFTWrbzDlZyFHHb1AlKRiD/qqCJIripXKiCSFS8fAOY=",
+ "owner": "zhaofengli",
+ "repo": "nix-github-actions",
+ "rev": "e418aeb728b6aa5ca8c5c71974e7159c2df1d8cf",
+ "type": "github"
+ },
+ "original": {
+ "owner": "zhaofengli",
+ "ref": "matrix-name",
+ "repo": "nix-github-actions",
+ "type": "github"
+ }
+ },
"nixos-hardware": {
"locked": {
"lastModified": 1762847253,
@@ -352,6 +395,18 @@
"type": "github"
}
},
+ "nixpkgs-unstable": {
+ "locked": {
+ "narHash": "sha256-lft4/rbh1nFSjHqQatxPEq3n68+iH7QmT5Tqr784e0Q=",
+ "rev": "f61125a668a320878494449750330ca58b78c557",
+ "type": "tarball",
+ "url": "https://releases.nixos.org/nixos/unstable/nixos-26.05pre907002.f61125a668a3/nixexprs.tar.xz?lastModified=1764950072"
+ },
+ "original": {
+ "type": "tarball",
+ "url": "https://channels.nixos.org/nixos-unstable/nixexprs.tar.xz"
+ }
+ },
"nixpkgs_2": {
"locked": {
"narHash": "sha256-79T1mnDzWNjktwvynnm0ptFJW5qVfuzavIRDCzKFiZ8=",
@@ -438,9 +493,11 @@
"emacs-overlay": "emacs-overlay",
"flake-parts": "flake-parts",
"home-manager": "home-manager_2",
+ "jovian": "jovian",
"my-go-tools": "my-go-tools",
"nixos-hardware": "nixos-hardware",
"nixpkgs": "nixpkgs_2",
+ "nixpkgs-unstable": "nixpkgs-unstable",
"nur": "nur",
"pre-commit-hooks": "pre-commit-hooks_2",
"treefmt-nix": "treefmt-nix_2"
diff --git a/flake.nix b/flake.nix
index ebe5464..d1bd1a5 100644
--- a/flake.nix
+++ b/flake.nix
@@ -3,6 +3,7 @@
inputs = {
nixpkgs.url = "https://channels.nixos.org/nixos-25.05/nixexprs.tar.xz";
+ nixpkgs-unstable.url = "https://channels.nixos.org/nixos-unstable/nixexprs.tar.xz";
home-manager = {
url = "github:nix-community/home-manager/release-25.05";
@@ -53,6 +54,11 @@
inputs.nixpkgs-lib.follows = "nixpkgs";
};
+ jovian = {
+ url = "github:Jovian-Experiments/Jovian-NixOS";
+ inputs.nixpkgs.follows = "nixpkgs-unstable";
+ };
+
my-go-tools.url = "git+https://code.fcuny.net/x";
};
diff --git a/flake/hosts.nix b/flake/hosts.nix
index 2a3f062..18dd93a 100644
--- a/flake/hosts.nix
+++ b/flake/hosts.nix
@@ -70,6 +70,7 @@ let
nixSettings
inputs.agenix.nixosModules.age
inputs.disko.nixosModules.disko
+ inputs.jovian.nixosModules.default
inputs.home-manager.nixosModules.home-manager
../modules/default.nix
];
diff --git a/machines/nixos/x86_64-linux/rivendell.nix b/machines/nixos/x86_64-linux/rivendell.nix
index 23d1683..c9d26e6 100644
--- a/machines/nixos/x86_64-linux/rivendell.nix
+++ b/machines/nixos/x86_64-linux/rivendell.nix
@@ -58,5 +58,21 @@
};
};
+ # jovian = {
+ # hardware = {
+ # has.amd.gpu = true;
+ # };
+ # steam = {
+ # updater.splash = "vendor";
+ # enable = true;
+ # autoStart = true;
+ # user = "fcuny";
+ # desktopSession = "plasma";
+ # };
+ # steamos = {
+ # useSteamOSConfig = true;
+ # };
+ # };
+
system.stateVersion = "23.11"; # Did you read the comment?
}