mirror of
https://github.com/oqyude/nixos.git
synced 2026-06-11 12:40:44 +03:00
123
This commit is contained in:
+11
-6
@@ -1,19 +1,24 @@
|
|||||||
{ inputs, ... }@flakeContext:
|
{ inputs, ... }@flakeContext:
|
||||||
|
let
|
||||||
|
user = "${inputs.zeroq-vars.devices.username}";
|
||||||
|
server = "${inputs.zeroq-vars.devices.server.hostname}";
|
||||||
|
vds = "${inputs.zeroq-vars.devices.vds.hostname}";
|
||||||
|
in
|
||||||
{
|
{
|
||||||
deploy = {
|
deploy = {
|
||||||
sshUser = "oqyude";
|
sshUser = "${user}";
|
||||||
user = "root";
|
user = "root";
|
||||||
nodes = {
|
nodes = {
|
||||||
sapphira = {
|
"${server}" = {
|
||||||
hostname = "sapphira";
|
hostname = "${server}";
|
||||||
profiles.system = {
|
profiles.system = {
|
||||||
path = inputs.deploy-rs.lib.x86_64-linux.activate.nixos inputs.self.nixosConfigurations.sapphira;
|
path = inputs.deploy-rs.lib.x86_64-linux.activate.nixos inputs.self.nixosConfigurations.sapphira;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
otreca = {
|
"${vds}" = {
|
||||||
hostname = "otreca";
|
hostname = "${vds}";
|
||||||
profiles.system = {
|
profiles.system = {
|
||||||
path = inputs.deploy-rs.lib.x86_64-linux.activate.nixos inputs.self.nixosConfigurations.otreca;
|
path = inputs.deploy-rs.lib.x86_64-linux.activate.nixos inputs.self.nixosConfigurations."${vds}";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -3,18 +3,18 @@
|
|||||||
inputs = {
|
inputs = {
|
||||||
# My
|
# My
|
||||||
zeroq-credentials.url = "git+ssh://git@github.com/oqyude/zeroq-credentials.git"; # flake of creds
|
zeroq-credentials.url = "git+ssh://git@github.com/oqyude/zeroq-credentials.git"; # flake of creds
|
||||||
|
zeroq-vars = {
|
||||||
|
url = ./vars.nix;
|
||||||
|
isFlake = false;
|
||||||
|
};
|
||||||
zapret.url = "github:oqyude/zapret-easyflake"; # stupid flake of zapret
|
zapret.url = "github:oqyude/zapret-easyflake"; # stupid flake of zapret
|
||||||
|
|
||||||
# nixpkgs
|
# nixpkgs
|
||||||
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
||||||
nixpkgs-last-unstable.url = "github:NixOS/nixpkgs/6b4955211758ba47fac850c040a27f23b9b4008f";
|
nixpkgs-last-unstable.url = "github:NixOS/nixpkgs/6b4955211758ba47fac850c040a27f23b9b4008f";
|
||||||
# nixpkgs-calibre.url = "github:NixOS/nixpkgs/35f590344ff791e6b1d6d6b8f3523467c9217caf";
|
nixpkgs-master.url = "github:NixOS/nixpkgs/master";
|
||||||
#nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
|
||||||
# nixpkgs-immich.url = "github:NixOS/nixpkgs/007307973c7183cc2d529b83b1a1e81e14b85ebe";
|
|
||||||
nixpkgs-master.url = "github:NixOS/nixpkgs/master"; # e63467437ce61d8d9a36e09254e8d07b472da0c6 # 72353fc1fa61189fb76133d50c519e871c858c39 # 5b38c7435fb1112a8b36b1652286996a7998c5b5
|
|
||||||
nixpkgs-stable.url = "github:NixOS/nixpkgs/nixos-25.05";
|
nixpkgs-stable.url = "github:NixOS/nixpkgs/nixos-25.05";
|
||||||
#nixpkgs-fingerprint.url = "github:NixOS/nixpkgs/nixos-24.11";
|
#nixpkgs-fingerprint.url = "github:NixOS/nixpkgs/nixos-24.11";
|
||||||
#nixos.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
||||||
|
|
||||||
# nix-community
|
# nix-community
|
||||||
nixos-wsl = {
|
nixos-wsl = {
|
||||||
|
|||||||
Reference in New Issue
Block a user