diff options
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 15 |
1 files changed, 8 insertions, 7 deletions
@@ -12,8 +12,8 @@ url = "github:cachix/pre-commit-hooks.nix"; inputs.nixpkgs.follows = "nixpkgs"; }; - no-style-please = { - url = "gitlab:atgumx/no-style-please"; + radion-theme = { + url = "github:micahkepe/radion"; flake = false; }; }; @@ -29,7 +29,8 @@ perSystem = { config, pkgs, ... }: let - themeName = ((builtins.fromTOML (builtins.readFile "${inputs.no-style-please}/theme.toml")).name); + theme = inputs.radion-theme; + themeName = ((builtins.fromTOML (builtins.readFile "${theme}/theme.toml")).name); in { packages = { @@ -37,12 +38,12 @@ website = pkgs.stdenv.mkDerivation { pname = "sorre-website"; - version = "2025-01-21"; + version = "2025-10-04"; src = ./.; nativeBuildInputs = [ pkgs.zola ]; configurePhase = '' mkdir -p "themes/${themeName}" - cp -r ${inputs.no-style-please}/* "themes/${themeName}" + cp -r ${theme}/* "themes/${themeName}" ''; buildPhase = "zola build"; installPhase = "cp -r public $out"; @@ -56,7 +57,7 @@ "8080/tcp" = { }; }; Cmd = [ - "${pkgs.pkgsStatic.busybox}/bin/httpd" + "${pkgs.pkgsStatic.darkhttpd}/bin/darkhttpd" "${config.packages.website}" "--port" "8080" @@ -84,7 +85,7 @@ packages = with pkgs; [ zola ] ++ builtins.attrValues config.treefmt.build.programs; shellHook = '' mkdir -p themes - ln -sn "${inputs.no-style-please}" "themes/${themeName}" + ln -sn "${theme}" "themes/${themeName}" ''; }; |
