Add my website (#21)

This commit is contained in:
Patrick Stevens
2023-10-01 22:40:11 +01:00
committed by GitHub
parent 53425cfd88
commit 56483b6b80
4 changed files with 372 additions and 22 deletions

View File

@@ -1,6 +1,10 @@
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
nixpkgs.url = "github:NixOS/nixpkgs/697312fb824243bd7bf82d2a3836a11292614109";
website = {
url = "github:Smaug123/static-site-pipeline";
inputs.nixpkgs.follows = "nixpkgs";
};
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
@@ -13,9 +17,16 @@
nixpkgs,
sops,
home-manager,
} @ inputs: {
website,
} @ inputs: let
system = "x86_64-linux";
in {
nixosConfigurations.default = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
inherit system;
specialArgs = {
inherit system;
website = website.packages.${system}.default;
};
modules = [
(import ./configuration.nix (inputs // {inherit inputs;}))
sops.nixosModules.sops