Update
This commit is contained in:
parent
7ddff66f00
commit
0489f7eaa7
@ -31,6 +31,7 @@
|
||||
};
|
||||
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
|
||||
hyprpanel.url = "github:Jas-SinghFSU/HyprPanel";
|
||||
anotherhadi-portfolio.url = "github:anotherhadi/portfolio";
|
||||
};
|
||||
|
||||
outputs = inputs@{ nixpkgs, ... }: {
|
||||
|
@ -20,6 +20,18 @@
|
||||
name = config.var.theme.font;
|
||||
size = config.var.theme.font-size;
|
||||
};
|
||||
|
||||
gtk3.extraConfig = {
|
||||
Settings = ''
|
||||
gtk-application-prefer-dark-theme=1
|
||||
'';
|
||||
};
|
||||
|
||||
gtk4.extraConfig = {
|
||||
Settings = ''
|
||||
gtk-application-prefer-dark-theme=1
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
home.pointerCursor = {
|
||||
|
@ -1,35 +1,7 @@
|
||||
{ pkgs, lib, ... }:
|
||||
let
|
||||
package = pkgs.buildNpmPackage {
|
||||
pname = "homepage";
|
||||
version = "0.0.0";
|
||||
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "anotherhadi";
|
||||
repo = "portfolio";
|
||||
rev = "5d54a2d204cdbf0f702173c1bf1279bca25eb736";
|
||||
hash = "sha256-8vDm9YwZKpMujILZjXtRERUIxvDqddSxS/gdJfZdUdY=";
|
||||
};
|
||||
|
||||
npmDepsHash = "sha256-KMILWgZ6GNKoe/+RZS1tVDTd3SxXl6YtOuCb5kSFeis=";
|
||||
|
||||
buildPhase = ''
|
||||
npm install
|
||||
npm run build
|
||||
mkdir $out
|
||||
mv build $out
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "portfolio";
|
||||
homepage = "https://github.com/anotherhadi/portfolio";
|
||||
};
|
||||
};
|
||||
|
||||
in {
|
||||
{ inputs, pkgs, ... }: {
|
||||
services.nginx.virtualHosts."anotherhadi.com" = {
|
||||
serverAliases = [ "www.anotherhadi.com" ];
|
||||
enableACME = true;
|
||||
root = package + "/build";
|
||||
root = inputs.anotherhadi-portfolio.packages."${pkgs.system}";
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user