diff options
| author | Miran Bastaja <mbastaja@sorre.xyz> | 2025-10-04 14:25:52 +0200 |
|---|---|---|
| committer | Miran Bastaja <mbastaja@sorre.xyz> | 2025-10-04 16:29:21 +0200 |
| commit | 50f15f8b6234be058f7a1a87ca96e7d97198da11 (patch) | |
| tree | f4d6e7b6413fe01ac5db82a5ae48117fd2a65422 /flake.nix | |
| parent | 408d3a49813bfa8f4397decd058cfa5a6110a859 (diff) | |
Update flake.lock, change theme to radion
`no style, please!` seems to have disappeared off of gitlab and I'm too
lazy to hunt the new repo down. (if it even exists)
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}" ''; }; |
