diff --git a/.envrc b/.envrc index 8392d15..3550a30 100644 --- a/.envrc +++ b/.envrc @@ -1 +1 @@ -use flake \ No newline at end of file +use flake diff --git a/.forgejo/workflows/deployment.yml b/.forgejo/workflows/deployment.yml new file mode 100644 index 0000000..e69de29 diff --git a/.gitignore b/.gitignore index 5c41f01..412d17a 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,7 @@ -.hugo_build.lock \ No newline at end of file +/dist +/.elm-land +/.env +/elm-stuff +/node_modules +.DS_Store +*.pem diff --git a/.gitmodules b/.gitmodules deleted file mode 100644 index 51edd47..0000000 --- a/.gitmodules +++ /dev/null @@ -1,3 +0,0 @@ -[submodule "themes/gokarna"] - path = themes/gokarna - url = https://github.com/526avijitgupta/gokarna.git diff --git a/README.md b/README.md index 69b5451..d28a804 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,2 @@ -
-

- notohh.dev -

- - -

built with hugo, deployed with cloudflare.

-
\ No newline at end of file +# notohh.dev +> Built with [Elm Land](https://elm.land) 🌈 diff --git a/archetypes/default.md b/archetypes/default.md deleted file mode 100644 index c6f3fce..0000000 --- a/archetypes/default.md +++ /dev/null @@ -1,5 +0,0 @@ -+++ -title = '{{ replace .File.ContentBaseName "-" " " | title }}' -date = {{ .Date }} -draft = true -+++ diff --git a/content/about/_index.md b/content/about/_index.md deleted file mode 100644 index 3567ac2..0000000 --- a/content/about/_index.md +++ /dev/null @@ -1,8 +0,0 @@ -+++ -title = "about" -type = "page" -+++ - -22 y/o. nix enthusiast, interested in linux and different languages / technologies. - -PGP: C3CB 3B31 AF3F 986C 39E0 BE5B BD47 506D 475E E86DPGP: C3CB 3B31 AF3F 986C 39E0 BE5B BD47 506D 475E E86D diff --git a/content/projects/_index.md b/content/projects/_index.md deleted file mode 100644 index bf81b60..0000000 --- a/content/projects/_index.md +++ /dev/null @@ -1,7 +0,0 @@ -+++ -title = "projects" -type = "page" -+++ - -- [snowflake](/projects/snowflake) -- [basegbot](/projects/basegbot) \ No newline at end of file diff --git a/content/projects/basegbot.md b/content/projects/basegbot.md deleted file mode 100644 index 7db20b3..0000000 --- a/content/projects/basegbot.md +++ /dev/null @@ -1,4 +0,0 @@ -+++ -title = "basegbot" -type = "page" -+++ \ No newline at end of file diff --git a/content/projects/snowflake.md b/content/projects/snowflake.md deleted file mode 100644 index d8e5c89..0000000 --- a/content/projects/snowflake.md +++ /dev/null @@ -1,29 +0,0 @@ -+++ -title = "snowflake" -type = "page" -+++ - -![Screenshot updated: 2023-06-08](https://i.imgur.com/23Gv6Gh.png) - -snowflake is my lifeblood. written and configured in nix, its my desktop, my laptop, my servers, my everything. - -## Features - -+ multi-config repo, with configs for servers, laptop, and desktop -+ multi-system home-manager setup -+ secrets provisioning with [sops-nix](https://github.com/Mic92/sops-nix) -+ multiple fully declarative self hosted services (and some containerized ones, with a docker backend) -+ wayland configs for hyprland and river -+ custom packages not found in nixpkgs - -## Credit -#### people who've inspired me to dive into nix, and i've stolen stuff from (you guys are awesome!) -+ [fufexan](https://github.com/fufexan) - a ton of home manager, hyprland stuff, and some gh workflows -+ [Misterio77](https://github.com/Misterio77) - flake, and some other boilerplate -+ [NobbZ](https://github.com/NobbZ) - general nix assistance -+ [MatthiasBenaets](https://github.com/MatthiasBenaets) - amazing nixos introduction video -+ [sioodmy](https://github.com/sioodmy) - general dotfile, readme badges, and hyprland stuff -+ [MatthewCroughan](https://github.com/MatthewCroughan) - traefik config used as reference -+ [seqizz](https://github.com/seqizz/nixos-config/blob/3ee51f406a8c7aa3afde9cdee97a43641b2ed2ef/modules/server/rustypaste.nix) - rustypaste config -+ [Yavko](https://github.com/yavko) - ironbar config used as reference -+ [hlissner](https://github.com/hlissner) - [security.nix](modules/security.nix) \ No newline at end of file diff --git a/elm-land.json b/elm-land.json new file mode 100644 index 0000000..cb66d5a --- /dev/null +++ b/elm-land.json @@ -0,0 +1,26 @@ +{ + "app": { + "elm": { + "development": { "debugger": true }, + "production": { "debugger": false } + }, + "env": [], + "html": { + "attributes": { + "html": { "lang": "en" }, + "head": {} + }, + "title": "Elm Land", + "meta": [ + { "charset": "UTF-8" }, + { "http-equiv": "X-UA-Compatible", "content": "IE=edge" }, + { "name": "viewport", "content": "width=device-width, initial-scale=1.0" } + ], + "link": [], + "script": [] + }, + "router": { + "useHashRouting": false + } + } +} \ No newline at end of file diff --git a/elm.json b/elm.json new file mode 100644 index 0000000..5868b5e --- /dev/null +++ b/elm.json @@ -0,0 +1,25 @@ +{ + "type": "application", + "source-directories": [ + "src", + ".elm-land/src" + ], + "elm-version": "0.19.1", + "dependencies": { + "direct": { + "elm/browser": "1.0.2", + "elm/core": "1.0.5", + "elm/html": "1.0.0", + "elm/json": "1.1.3", + "elm/url": "1.0.0" + }, + "indirect": { + "elm/time": "1.0.0", + "elm/virtual-dom": "1.0.3" + } + }, + "test-dependencies": { + "direct": {}, + "indirect": {} + } +} diff --git a/flake.lock b/flake.lock index 9491c2f..ee1e5e1 100644 --- a/flake.lock +++ b/flake.lock @@ -2,11 +2,11 @@ "nodes": { "nixpkgs": { "locked": { - "lastModified": 1703637592, - "narHash": "sha256-8MXjxU0RfFfzl57Zy3OfXCITS0qWDNLzlBAdwxGZwfY=", + "lastModified": 1704194953, + "narHash": "sha256-RtDKd8Mynhe5CFnVT8s0/0yqtWFMM9LmCzXv/YKxnq4=", "owner": "nixos", "repo": "nixpkgs", - "rev": "cfc3698c31b1fb9cdcf10f36c9643460264d0ca8", + "rev": "bd645e8668ec6612439a9ee7e71f7eac4099d4f6", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index 2dd9e54..9a56b03 100644 --- a/flake.nix +++ b/flake.nix @@ -6,11 +6,7 @@ url = "github:nixos/nixpkgs/nixos-unstable"; }; }; - outputs = { - self, - nixpkgs, - ... - }: let + outputs = {nixpkgs, ...}: let system = "x86_64-linux"; pkgs = import nixpkgs { inherit system; @@ -22,7 +18,9 @@ nil git alejandra - hugo + elmPackages.elm + elmPackages.elm-land + elmPackages.elm-format ]; }; }; diff --git a/hugo.toml b/hugo.toml deleted file mode 100644 index 37da7d2..0000000 --- a/hugo.toml +++ /dev/null @@ -1,41 +0,0 @@ -baseURL = "https://notohh.dev/" -defaultContentLanguage = "en" -languageCode = "en" - -title = "notohh" - -theme = "gokarna" - -enableRobotsTXT = true - -[menu] - [[menu.main]] - identifier = "status" - name = "status" - url = "https://status.flake.sh/status/kumo" - pre = "" - weight = 1 - - [[menu.main]] - identifier = "about" - name = "about" - url = "/about/" - weight = 2 - - [[menu.main]] - identifier = "projects" - name = "projects" - url = "/projects/" - weight = 3 - -[params] - avatarURL = "images/pfp.jpg" - avatarSize = "size-m" - accentColor = "#74c7ec" - socialIcons = [ - {name = "github", url = "https://git.flake.sh/notohh"}, - {name = "twitter", url = "https://twitter.com/notohhh"}, - {name = "twitch", url = "https://www.twitch.tv/notohh"}, - {name = "discord", url = "https://discord.com/users/155965294429470720"} - ] - pygmentsStyle = "catppuccin-mocha" \ No newline at end of file diff --git a/src/Pages/About.elm b/src/Pages/About.elm new file mode 100644 index 0000000..8dc94bf --- /dev/null +++ b/src/Pages/About.elm @@ -0,0 +1,11 @@ +module Pages.About exposing (page) + +import Html exposing (Html) +import View exposing (View) + + +page : View msg +page = + { title = "Pages.About" + , body = [ Html.text "/about" ] + } diff --git a/src/Pages/Home_.elm b/src/Pages/Home_.elm new file mode 100644 index 0000000..945a2e3 --- /dev/null +++ b/src/Pages/Home_.elm @@ -0,0 +1,11 @@ +module Pages.Home_ exposing (page) + +import Html +import View exposing (View) + + +page : View msg +page = + { title = "Homepage" + , body = [ Html.text "Hello, world!" ] + } diff --git a/static/android-chrome-192x192.png b/static/android-chrome-192x192.png deleted file mode 100644 index d0115a5..0000000 Binary files a/static/android-chrome-192x192.png and /dev/null differ diff --git a/static/android-chrome-512x512.png b/static/android-chrome-512x512.png deleted file mode 100644 index fbe0e50..0000000 Binary files a/static/android-chrome-512x512.png and /dev/null differ diff --git a/static/apple-touch-icon.png b/static/apple-touch-icon.png deleted file mode 100644 index aa9723b..0000000 Binary files a/static/apple-touch-icon.png and /dev/null differ diff --git a/static/favicon-16x16.png b/static/favicon-16x16.png deleted file mode 100644 index 8dc7a53..0000000 Binary files a/static/favicon-16x16.png and /dev/null differ diff --git a/static/favicon-32x32.png b/static/favicon-32x32.png deleted file mode 100644 index 66e61c3..0000000 Binary files a/static/favicon-32x32.png and /dev/null differ diff --git a/static/favicon.ico b/static/favicon.ico deleted file mode 100644 index 92dd3d8..0000000 Binary files a/static/favicon.ico and /dev/null differ diff --git a/static/icons/last-fm.svg b/static/icons/last-fm.svg deleted file mode 100644 index 4811d72..0000000 --- a/static/icons/last-fm.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/static/images/pfp.jpg b/static/images/pfp.jpg deleted file mode 100644 index fc81f7e..0000000 Binary files a/static/images/pfp.jpg and /dev/null differ diff --git a/static/site.webmanifest b/static/site.webmanifest deleted file mode 100644 index 45dc8a2..0000000 --- a/static/site.webmanifest +++ /dev/null @@ -1 +0,0 @@ -{"name":"","short_name":"","icons":[{"src":"/android-chrome-192x192.png","sizes":"192x192","type":"image/png"},{"src":"/android-chrome-512x512.png","sizes":"512x512","type":"image/png"}],"theme_color":"#ffffff","background_color":"#ffffff","display":"standalone"} \ No newline at end of file diff --git a/themes/gokarna b/themes/gokarna deleted file mode 160000 index 9d9e752..0000000 --- a/themes/gokarna +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 9d9e7521f1ba1273a547603ceb971c2847389f77