change 0x76.dev tag to build-num
This commit is contained in:
parent
98a2e5cd0b
commit
1afe53d15d
33
flake.nix
33
flake.nix
|
@ -48,20 +48,8 @@
|
||||||
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
|
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs =
|
outputs = { self, nixpkgs, nixpkgs_22-11, vault-secrets, colmena, home-manager
|
||||||
{ self
|
, hyprpaper, hyprland, nixos-generators, nixos-hardware, nur, ... }@inputs:
|
||||||
, nixpkgs
|
|
||||||
, nixpkgs_22-11
|
|
||||||
, vault-secrets
|
|
||||||
, colmena
|
|
||||||
, home-manager
|
|
||||||
, hyprpaper
|
|
||||||
, hyprland
|
|
||||||
, nixos-generators
|
|
||||||
, nixos-hardware
|
|
||||||
, nur
|
|
||||||
, ...
|
|
||||||
}@inputs:
|
|
||||||
let
|
let
|
||||||
inherit (nixpkgs) lib;
|
inherit (nixpkgs) lib;
|
||||||
|
|
||||||
|
@ -105,8 +93,7 @@
|
||||||
source /etc/set-environment
|
source /etc/set-environment
|
||||||
nix repl --file "${./.}/repl.nix" $@
|
nix repl --file "${./.}/repl.nix" $@
|
||||||
'';
|
'';
|
||||||
in
|
in {
|
||||||
{
|
|
||||||
# Make the nixosConfigurations for compat reasons
|
# Make the nixosConfigurations for compat reasons
|
||||||
nixosConfigurations =
|
nixosConfigurations =
|
||||||
(import (inputs.colmena + "/src/nix/hive/eval.nix") {
|
(import (inputs.colmena + "/src/nix/hive/eval.nix") {
|
||||||
|
@ -118,14 +105,12 @@
|
||||||
}).nodes;
|
}).nodes;
|
||||||
|
|
||||||
# Make the colmena configuration
|
# Make the colmena configuration
|
||||||
colmena = lib.foldr (el: acc: acc // util.mkColmenaHost el)
|
colmena = lib.foldr (el: acc: acc // util.mkColmenaHost el) {
|
||||||
{
|
meta = {
|
||||||
meta = {
|
inherit specialArgs;
|
||||||
inherit specialArgs;
|
nixpkgs = pkgs;
|
||||||
nixpkgs = pkgs;
|
};
|
||||||
};
|
} nixHosts;
|
||||||
}
|
|
||||||
nixHosts;
|
|
||||||
|
|
||||||
packages.${system} = {
|
packages.${system} = {
|
||||||
inherit apply-local;
|
inherit apply-local;
|
||||||
|
|
|
@ -17,7 +17,7 @@ spec:
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: x76dev
|
- name: x76dev
|
||||||
image: git.0x76.dev/v/0x76.dev:latest
|
image: git.0x76.dev/v/0x76.dev:4
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 80
|
- containerPort: 80
|
||||||
---
|
---
|
||||||
|
|
Loading…
Reference in a new issue