mirror of
https://github.com/oqyude/nixos.git
synced 2026-06-10 20:20:41 +03:00
123
This commit is contained in:
+11
-6
@@ -1,19 +1,24 @@
|
||||
{ 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 = {
|
||||
sshUser = "oqyude";
|
||||
sshUser = "${user}";
|
||||
user = "root";
|
||||
nodes = {
|
||||
sapphira = {
|
||||
hostname = "sapphira";
|
||||
"${server}" = {
|
||||
hostname = "${server}";
|
||||
profiles.system = {
|
||||
path = inputs.deploy-rs.lib.x86_64-linux.activate.nixos inputs.self.nixosConfigurations.sapphira;
|
||||
};
|
||||
};
|
||||
otreca = {
|
||||
hostname = "otreca";
|
||||
"${vds}" = {
|
||||
hostname = "${vds}";
|
||||
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 = {
|
||||
# My
|
||||
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
|
||||
|
||||
# nixpkgs
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
||||
nixpkgs-last-unstable.url = "github:NixOS/nixpkgs/6b4955211758ba47fac850c040a27f23b9b4008f";
|
||||
# nixpkgs-calibre.url = "github:NixOS/nixpkgs/35f590344ff791e6b1d6d6b8f3523467c9217caf";
|
||||
#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-master.url = "github:NixOS/nixpkgs/master";
|
||||
nixpkgs-stable.url = "github:NixOS/nixpkgs/nixos-25.05";
|
||||
#nixpkgs-fingerprint.url = "github:NixOS/nixpkgs/nixos-24.11";
|
||||
#nixos.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||
|
||||
# nix-community
|
||||
nixos-wsl = {
|
||||
|
||||
Reference in New Issue
Block a user