Major cleanup

This commit is contained in:
William 2024-09-18 12:42:20 -03:00
parent 46275901fd
commit b2ff93693a
24 changed files with 39 additions and 289 deletions

View file

@ -109,35 +109,10 @@
})
];
};
shanghai = nixpkgs-stable.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = { inherit inputs; };
modules = [
./hosts/servers/shanghai.nix
agenix.nixosModules.default
self.nixosModules.qbittorrent
({ config, pkgs, ... }:
let
unstable-overlay = final: prev: {
unstable = nixpkgs.legacyPackages.x86_64-linux;
};
in {
nixpkgs.overlays = [ unstable-overlay agenix.overlays.default ];
imports = [ ];
})
];
};
};
# packages."x86_64-linux" = {
# chromeos-ectool = nixpkgs.legacyPackages."x86_64-linux".callPackage
# ./packages/chromeos-ectool.nix { };
# };
overlays = {
custom = final: prev: {
# inherit (self.packages."x86_64-linux") chromeos-ectool;
chromeos-ectool = nixpkgs.legacyPackages."x86_64-linux".callPackage
./packages/chromeos-ectool.nix { };
plasticity = nixpkgs.legacyPackages."x86_64-linux".callPackage
@ -162,19 +137,6 @@
};
};
shanghai = {
hostname = "shanghai";
profiles = {
system = {
user = "root";
sshUser = "root";
remoteBuild = true;
plath = deploy-rs.lib.x86_64-linux.activate.nixos
self.nixosConfigurations.shanghai;
};
};
};
io = {
hostname = "io";
profiles = {