Update
This commit is contained in:
parent
7ddff66f00
commit
0489f7eaa7
@ -31,6 +31,7 @@
|
|||||||
};
|
};
|
||||||
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
|
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
|
||||||
hyprpanel.url = "github:Jas-SinghFSU/HyprPanel";
|
hyprpanel.url = "github:Jas-SinghFSU/HyprPanel";
|
||||||
|
anotherhadi-portfolio.url = "github:anotherhadi/portfolio";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = inputs@{ nixpkgs, ... }: {
|
outputs = inputs@{ nixpkgs, ... }: {
|
||||||
|
@ -20,6 +20,18 @@
|
|||||||
name = config.var.theme.font;
|
name = config.var.theme.font;
|
||||||
size = config.var.theme.font-size;
|
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 = {
|
home.pointerCursor = {
|
||||||
|
@ -1,35 +1,7 @@
|
|||||||
{ pkgs, lib, ... }:
|
{ inputs, pkgs, ... }: {
|
||||||
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 {
|
|
||||||
services.nginx.virtualHosts."anotherhadi.com" = {
|
services.nginx.virtualHosts."anotherhadi.com" = {
|
||||||
serverAliases = [ "www.anotherhadi.com" ];
|
serverAliases = [ "www.anotherhadi.com" ];
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
root = package + "/build";
|
root = inputs.anotherhadi-portfolio.packages."${pkgs.system}";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user