flake.nix: remove inputs.secrets
This commit is contained in:
parent
c332f5dff6
commit
1d42923e3e
14
flake.nix
14
flake.nix
@ -50,16 +50,6 @@
|
|||||||
url = "github:nix-community/nixos-vscode-server";
|
url = "github:nix-community/nixos-vscode-server";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Nix expressions and keys (TODO: move keys to another solution like agenix)
|
|
||||||
# which should be kept from the main repo for privacy reasons.
|
|
||||||
#
|
|
||||||
# Includes stuff like usernames, emails, ports, other server users, ssh hosts, etc.
|
|
||||||
secrets = {
|
|
||||||
# TODO: Push this to a remote.
|
|
||||||
url = "git+file:///home/h7x4/git/nix-secrets";
|
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = inputs@{
|
outputs = inputs@{
|
||||||
@ -73,7 +63,6 @@
|
|||||||
maunium-stickerpicker,
|
maunium-stickerpicker,
|
||||||
minecraft,
|
minecraft,
|
||||||
osuchan,
|
osuchan,
|
||||||
secrets,
|
|
||||||
sops-nix,
|
sops-nix,
|
||||||
vscode-server,
|
vscode-server,
|
||||||
# website
|
# website
|
||||||
@ -163,7 +152,6 @@
|
|||||||
inherit inputs;
|
inherit inputs;
|
||||||
inherit unstable-pkgs;
|
inherit unstable-pkgs;
|
||||||
inherit (self) extendedLib;
|
inherit (self) extendedLib;
|
||||||
secrets = secrets.outputs.settings;
|
|
||||||
} // (extraConfig.specialArgs or { });
|
} // (extraConfig.specialArgs or { });
|
||||||
|
|
||||||
modules = [
|
modules = [
|
||||||
@ -175,7 +163,6 @@
|
|||||||
./modules/machineVars.nix
|
./modules/machineVars.nix
|
||||||
./modules/socketActivation.nix
|
./modules/socketActivation.nix
|
||||||
|
|
||||||
secrets.outputs.nixos-config
|
|
||||||
sops-nix.nixosModules.sops
|
sops-nix.nixosModules.sops
|
||||||
|
|
||||||
({ config, ... }:
|
({ config, ... }:
|
||||||
@ -187,7 +174,6 @@
|
|||||||
inherit unstable-pkgs;
|
inherit unstable-pkgs;
|
||||||
inherit (self) extendedLib;
|
inherit (self) extendedLib;
|
||||||
inherit (config) machineVars;
|
inherit (config) machineVars;
|
||||||
secrets = secrets.outputs.settings;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
sharedModules = [
|
sharedModules = [
|
||||||
|
Loading…
Reference in New Issue
Block a user