Compare commits
1 commit
02d4edb3dc
...
3a108a64b9
Author | SHA1 | Date | |
---|---|---|---|
3a108a64b9 |
7 changed files with 61 additions and 88 deletions
48
flake.lock
48
flake.lock
|
@ -24,11 +24,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1728902215,
|
"lastModified": 1728334376,
|
||||||
"narHash": "sha256-toHnqv0orYpu+/IHN7CgtG4ckCrevY9UxMCAxJJ8MVY=",
|
"narHash": "sha256-CTKEKPzD/j8FK6H4DO3EjyixZd3HHvgAgfnCwpGFP5c=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "disko",
|
"repo": "disko",
|
||||||
"rev": "3b2e19fe7c667a4fb2da3d6bb5ae6ee3e3552f74",
|
"rev": "d39ee334984fcdae6244f5a8e6ab857479cbaefe",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -359,11 +359,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1728790083,
|
"lastModified": 1728263287,
|
||||||
"narHash": "sha256-grMdAd4KSU6uPqsfLzA1B/3pb9GtGI9o8qb0qFzEU/Y=",
|
"narHash": "sha256-GJDtsxz2/zw6g/Nrp4XVWBS5IaZ7ZUkuvxPOBEDe7pg=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "nix-index-database",
|
"repo": "nix-index-database",
|
||||||
"rev": "5c54c33aa04df5dd4b0984b7eb861d1981009b22",
|
"rev": "5fce10c871bab6d7d5ac9e5e7efbb3a2783f5259",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -403,11 +403,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1728784327,
|
"lastModified": 1728438322,
|
||||||
"narHash": "sha256-Ib1rAnxE4ZZtO3WE7E4+mwivz37gwNOW5qPToJb9RPQ=",
|
"narHash": "sha256-vVMMJaoYGjrsXzUzXCsoF5cbqq3aV44RHIoQPxzLAGs=",
|
||||||
"owner": "Infinidoge",
|
"owner": "Infinidoge",
|
||||||
"repo": "nix-minecraft",
|
"repo": "nix-minecraft",
|
||||||
"rev": "14f679c6eaba1ef43b6f6092ba82e24cba97c858",
|
"rev": "6f3e79295e2ded5f13076fa99cec6abf59a8d9fe",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -440,11 +440,11 @@
|
||||||
},
|
},
|
||||||
"nixos-hardware": {
|
"nixos-hardware": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1728729581,
|
"lastModified": 1728269138,
|
||||||
"narHash": "sha256-oazkQ/z7r43YkDLLQdMg8oIB3CwWNb+2ZrYOxtLEWTQ=",
|
"narHash": "sha256-oKxDImsOvgUZMY4NwXVyUc/c1HiU2qInX+b5BU0yXls=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixos-hardware",
|
"repo": "nixos-hardware",
|
||||||
"rev": "a8dd1b21995964b115b1e3ec639dd6ce24ab9806",
|
"rev": "ecfcd787f373f43307d764762e139a7cdeb9c22b",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -456,11 +456,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1728740863,
|
"lastModified": 1728328465,
|
||||||
"narHash": "sha256-u+rxA79a0lyhG+u+oPBRtTDtzz8kvkc9a6SWSt9ekVc=",
|
"narHash": "sha256-a0a0M1TmXMK34y3M0cugsmpJ4FJPT/xsblhpiiX1CXo=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "a3f9ad65a0bf298ed5847629a57808b97e6e8077",
|
"rev": "1bfbbbe5bbf888d675397c66bfdb275d0b99361c",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -516,11 +516,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs-unstable": {
|
"nixpkgs-unstable": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1728492678,
|
"lastModified": 1728241625,
|
||||||
"narHash": "sha256-9UTxR8eukdg+XZeHgxW5hQA9fIKHsKCdOIUycTryeVw=",
|
"narHash": "sha256-yumd4fBc/hi8a9QgA9IT8vlQuLZ2oqhkJXHPKxH/tRw=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "5633bcff0c6162b9e4b5f1264264611e950c8ec7",
|
"rev": "c31898adf5a8ed202ce5bea9f347b1c6871f32d1",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -568,11 +568,11 @@
|
||||||
},
|
},
|
||||||
"nur": {
|
"nur": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1728913253,
|
"lastModified": 1728490142,
|
||||||
"narHash": "sha256-knJQYHo54jhS9IprmzrZV5dMVFYcm3iP1JxDRyDnnkQ=",
|
"narHash": "sha256-5iIn7eiCYNq9eWhUAiXDHd3vkA4UCCruU9BEOP3FzfA=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "NUR",
|
"repo": "NUR",
|
||||||
"rev": "0d5f98994e1f8f94bfe7d54c4f6d0e343bf908d8",
|
"rev": "2a8c9d69e204ac6991449a12d69f748f60bb794c",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -830,11 +830,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1728896766,
|
"lastModified": 1728466207,
|
||||||
"narHash": "sha256-1mCDMjzge38cwdg7HgiBcnVT1GNm9n72qetyWqAFKPM=",
|
"narHash": "sha256-CoJZYeo6SJMpf/FpIcGjSuQjHzzzgLSEvkrSqwbv4WA=",
|
||||||
"owner": "budimanjojo",
|
"owner": "budimanjojo",
|
||||||
"repo": "talhelper",
|
"repo": "talhelper",
|
||||||
"rev": "fb6f7a85f374f0ed597bf0fcd8d68b43ed2a4134",
|
"rev": "2f8ce1a683ca8be32af0b64d78295a498fb10737",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -53,7 +53,7 @@ with config;
|
||||||
unstable.jetbrains.rust-rover
|
unstable.jetbrains.rust-rover
|
||||||
unstable.peazip
|
unstable.peazip
|
||||||
unstable.seabird
|
unstable.seabird
|
||||||
unstable.talosctl # overlay override
|
unstable.talosctl
|
||||||
unstable.telegram-desktop
|
unstable.telegram-desktop
|
||||||
unstable.tidal-hifi
|
unstable.tidal-hifi
|
||||||
# unstable.vesktop # gpu issues. Using the flatpak version solves this issue.
|
# unstable.vesktop # gpu issues. Using the flatpak version solves this issue.
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
imports = [
|
imports = [
|
||||||
./backrest
|
./backrest
|
||||||
./lego-auto
|
./lego-auto
|
||||||
|
./unifi
|
||||||
./scrutiny
|
./scrutiny
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,33 +1,42 @@
|
||||||
{ inputs, ... }:
|
{ inputs, ... }:
|
||||||
let
|
let
|
||||||
# smartmontoolsOverlay = import ./smartmontools { };
|
inherit (inputs.nixpkgs) lib;
|
||||||
# vivaldiOverlay = self: super: { vivaldi = super.callPackage ./vivaldi { }; };
|
|
||||||
coderOverlay = self: super: { coder = super.callPackage ./coder { }; };
|
vivaldiOverlay = self: super: {
|
||||||
modsOverlay = self: super: { mods = super.callPackage ./charm-mods { }; };
|
vivaldi = super.callPackage ./vivaldi { };
|
||||||
termiusOverlay = self: super: { termius = super.callPackage ./termius { }; };
|
};
|
||||||
|
|
||||||
|
termiusOverlay = self: super: {
|
||||||
|
termius = super.callPackage ./termius { };
|
||||||
|
};
|
||||||
|
|
||||||
|
modsOverlay = self: super: {
|
||||||
|
mods = super.callPackage ./charm-mods { };
|
||||||
|
};
|
||||||
|
|
||||||
|
coderOverlay = self: super: {
|
||||||
|
coder = super.callPackage ./coder { };
|
||||||
|
};
|
||||||
|
|
||||||
|
smartmontoolsOverlay = import ./smartmontools { };
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
# smartmontools = smartmontoolsOverlay;
|
|
||||||
# vivaldi = vivaldiOverlay;
|
|
||||||
coder = coderOverlay;
|
coder = coderOverlay;
|
||||||
comm-packages = inputs.nix-vscode-extensions.overlays.default;
|
comm-packages = inputs.nix-vscode-extensions.overlays.default;
|
||||||
mods = modsOverlay;
|
mods = modsOverlay;
|
||||||
nix-minecraft = inputs.nix-minecraft.overlay;
|
|
||||||
nur = inputs.nur.overlay;
|
nur = inputs.nur.overlay;
|
||||||
|
# smartmontools = smartmontoolsOverlay;
|
||||||
termius = termiusOverlay;
|
termius = termiusOverlay;
|
||||||
|
# vivaldi = vivaldiOverlay;
|
||||||
|
nix-minecraft = inputs.nix-minecraft.overlay;
|
||||||
|
|
||||||
# The unstable nixpkgs set (declared in the flake inputs) will
|
# The unstable nixpkgs set (declared in the flake inputs) will
|
||||||
# be accessible through 'pkgs.unstable'
|
# be accessible through 'pkgs.unstable'
|
||||||
unstable-packages = final: prev: {
|
unstable-packages = final: _prev: {
|
||||||
unstable = import inputs.nixpkgs-unstable
|
unstable = import inputs.nixpkgs-unstable {
|
||||||
{
|
|
||||||
inherit (final) system;
|
inherit (final) system;
|
||||||
config.allowUnfree = true;
|
config.allowUnfree = true;
|
||||||
} // {
|
|
||||||
# Add talosctl to the unstable set
|
|
||||||
talosctl = final.unstable.callPackage ./talosctl/talosctl-full.nix {
|
|
||||||
inherit (final.unstable) lib buildGoModule fetchFromGitHub installShellFiles;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{ ... }:
|
{ ... }:
|
||||||
let
|
let
|
||||||
finalVersion = "1.8.1";
|
finalVersion = "1.7.5";
|
||||||
in
|
in
|
||||||
final: prev: {
|
final: prev: {
|
||||||
talosctl = prev.talosctl.overrideAttrs (oldAttrs: {
|
talosctl = prev.talosctl.overrideAttrs (oldAttrs: {
|
||||||
|
@ -9,8 +9,11 @@ final: prev: {
|
||||||
owner = "siderolabs";
|
owner = "siderolabs";
|
||||||
repo = "talos";
|
repo = "talos";
|
||||||
rev = "v${finalVersion}";
|
rev = "v${finalVersion}";
|
||||||
hash = "sha256-6WHeiVH/vZHiM4bqq3T5lC0ARldJyZtIErPeDgrZgxc=";
|
hash = "sha256-lmDLlxiPyVhlSPplYkIaS5Uw19hir6XD8MAk8q+obhY=";
|
||||||
|
};
|
||||||
|
vendorHash = "sha256-8UIey+r1tdVRN1RBK5xxcAzaHb0VFdgenUXSFgoWh1g=";
|
||||||
|
passthru = oldAttrs.passthru // {
|
||||||
|
updateScript = ./update.sh;
|
||||||
};
|
};
|
||||||
vendorHash = "sha256-aTtvVpL979BUvSBwBqRqCWSWIBBmmty9vBD97Q5P4+E=";
|
|
||||||
});
|
});
|
||||||
}
|
}
|
|
@ -1,40 +0,0 @@
|
||||||
{ lib, buildGoModule, fetchFromGitHub, installShellFiles }:
|
|
||||||
|
|
||||||
buildGoModule rec {
|
|
||||||
pname = "talosctl";
|
|
||||||
version = "1.8.1";
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
|
||||||
owner = "siderolabs";
|
|
||||||
repo = "talos";
|
|
||||||
rev = "v${version}";
|
|
||||||
hash = "sha256-6WHeiVH/vZHiM4bqq3T5lC0ARldJyZtIErPeDgrZgxc=";
|
|
||||||
};
|
|
||||||
|
|
||||||
vendorHash = "sha256-aTtvVpL979BUvSBwBqRqCWSWIBBmmty9vBD97Q5P4+E=";
|
|
||||||
|
|
||||||
ldflags = [ "-s" "-w" ];
|
|
||||||
|
|
||||||
env.GOWORK = "off";
|
|
||||||
|
|
||||||
subPackages = [ "cmd/talosctl" ];
|
|
||||||
|
|
||||||
nativeBuildInputs = [ installShellFiles ];
|
|
||||||
|
|
||||||
postInstall = ''
|
|
||||||
installShellCompletion --cmd talosctl \
|
|
||||||
--bash <($out/bin/talosctl completion bash) \
|
|
||||||
--fish <($out/bin/talosctl completion fish) \
|
|
||||||
--zsh <($out/bin/talosctl completion zsh)
|
|
||||||
'';
|
|
||||||
|
|
||||||
doCheck = false; # no tests
|
|
||||||
|
|
||||||
meta = with lib; {
|
|
||||||
description = "CLI for out-of-band management of Kubernetes nodes created by Talos";
|
|
||||||
mainProgram = "talosctl";
|
|
||||||
homepage = "https://www.talos.dev/";
|
|
||||||
license = licenses.mpl20;
|
|
||||||
maintainers = with maintainers; [ flokli ];
|
|
||||||
};
|
|
||||||
}
|
|
Loading…
Reference in a new issue