update website package name

This commit is contained in:
Gabriel Fontes
2022-08-18 19:25:28 -03:00
parent 72a2d051e7
commit e3dccaa118
4 changed files with 46 additions and 43 deletions
Generated
+36 -36
View File
@@ -193,28 +193,6 @@
"type": "github"
}
},
"misterio-me": {
"inputs": {
"nix-colors": "nix-colors",
"nixpkgs": [
"nixpkgs"
],
"utils": "utils_3"
},
"locked": {
"lastModified": 1659384842,
"narHash": "sha256-bDd7M52XHYMF+fycb74Y/5ucmdBnp3ZIMnqY1uUnbsU=",
"owner": "~misterio",
"repo": "misterio.me",
"rev": "6e170fb9f2109bb12b180b1f77c90da1b09a4e5d",
"type": "sourcehut"
},
"original": {
"owner": "~misterio",
"repo": "misterio.me",
"type": "sourcehut"
}
},
"nix-colors": {
"inputs": {
"base16-schemes": "base16-schemes",
@@ -335,7 +313,7 @@
"nixpkgs": [
"nixpkgs"
],
"utils": "utils_4"
"utils": "utils_3"
},
"locked": {
"lastModified": 1656947991,
@@ -382,13 +360,13 @@
"hyprland": "hyprland",
"hyprwm-contrib": "hyprwm-contrib",
"impermanence": "impermanence",
"misterio-me": "misterio-me",
"nix-colors": "nix-colors_2",
"nix-colors": "nix-colors",
"nixpkgs": "nixpkgs",
"nur": "nur",
"paste-misterio-me": "paste-misterio-me",
"peerix": "peerix",
"sops-nix": "sops-nix"
"sops-nix": "sops-nix",
"website": "website"
}
},
"sops-nix": {
@@ -443,6 +421,21 @@
}
},
"utils_3": {
"locked": {
"lastModified": 1644229661,
"narHash": "sha256-1YdnJAsNy69bpcjuoKdOYQX0YxZBiCYZo4Twxerqv7k=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "3cecb5b042f7f209c56ffd8371b2711a290ec797",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"utils_4": {
"locked": {
"lastModified": 1656928814,
"narHash": "sha256-RIFfgBuKz6Hp89yRr7+NR5tzIAbn52h8vT6vXkYjZoM=",
@@ -457,19 +450,26 @@
"type": "github"
}
},
"utils_4": {
"website": {
"inputs": {
"nix-colors": "nix-colors_2",
"nixpkgs": [
"nixpkgs"
],
"utils": "utils_4"
},
"locked": {
"lastModified": 1644229661,
"narHash": "sha256-1YdnJAsNy69bpcjuoKdOYQX0YxZBiCYZo4Twxerqv7k=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "3cecb5b042f7f209c56ffd8371b2711a290ec797",
"type": "github"
"lastModified": 1660861384,
"narHash": "sha256-rAY2o6ea/OkMBfo/+J2uBIwo7apm1Z3D4R3JRID7HMs=",
"owner": "~misterio",
"repo": "website",
"rev": "8a3f97184554afbcc83bfd206f1c71d9c637acf4",
"type": "sourcehut"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
"owner": "~misterio",
"repo": "website",
"type": "sourcehut"
}
},
"wlroots": {
+3 -3
View File
@@ -37,8 +37,8 @@
};
# Personal projects I deploy on my machines using nix
misterio-me = {
url = "sourcehut:~misterio/misterio.me";
website = {
url = "sourcehut:~misterio/website";
inputs.nixpkgs.follows = "nixpkgs";
};
paste-misterio-me = {
@@ -63,7 +63,7 @@
hyprland = inputs.hyprland.overlays.default;
hyprwm-contrib = inputs.hyprwm-contrib.overlays.default;
paste-misterio-me = inputs.paste-misterio-me.overlay;
misterio-me = inputs.misterio-me.overlays.default;
website = inputs.website.overlays.default;
};
nixosModules = import ./modules/nixos;
+4 -1
View File
@@ -12,7 +12,10 @@
./users.nix
];
networking.hostName = hostname;
networking = {
hostName = hostname;
domain = "fontes.dev.br";
};
nix = {
# Add each flake input as a registry
+3 -3
View File
@@ -15,9 +15,9 @@ in
forceSSL = true;
enableACME = true;
locations."/" = {
root = "${pkgs.misterio-me.website}/public";
root = "${pkgs.website.main}/public";
extraConfig = ''
add_header Last-Modified "${toDateTime inputs.misterio-me.lastModified}";
add_header Last-Modified "${toDateTime inputs.website.lastModified}";
'';
};
};
@@ -32,7 +32,7 @@ in
# Gemini
agate = {
enable = true;
contentDir = "${pkgs.misterio-me.website}/public";
contentDir = "${pkgs.website.main}/public";
hostnames = [ "misterio.me" ];
};
};