diff --git a/.typos.toml b/.typos.toml index 669d242..ca34fb6 100644 --- a/.typos.toml +++ b/.typos.toml @@ -1,5 +1,6 @@ # https://github.com/crate-ci/typos/blob/master/docs/reference.md [default] -locale = "en-gb" +locale = "en-us" [default.extend-words] +nax = "nax" # person diff --git a/LICENCE b/LICENSE similarity index 100% rename from LICENCE rename to LICENSE diff --git a/content/2023-wrapped.md b/content/2023-wrapped.md index 677e747..e58e2db 100644 --- a/content/2023-wrapped.md +++ b/content/2023-wrapped.md @@ -31,7 +31,7 @@ I started getting into self-hosting services (all managed by my NixOS dotfiles) ### New languages -This year I learned a wide range of languages since I was in search for the prefect language for me. And I think I found it, but I'm still learning it. But the languages that I learnt this year were: +This year I learned a wide range of languages since I was in search for the prefect language for me. And I think I found it, but I'm still learning it. But the languages that I learned this year were: - [Go](https://golang.org/), this is my main language now, and I'm really happy with it. - [Rust](https://www.rust-lang.org/), this is a really cool language, but I don't use it as much as I would like to, but I have made a few projects in it. diff --git a/content/2024-wrapped.md b/content/2024-wrapped.md index bde44ba..b29c97e 100644 --- a/content/2024-wrapped.md +++ b/content/2024-wrapped.md @@ -15,14 +15,14 @@ Welcome to my 2024 Wrapped! This is a recall of all that happened this year, and - [wezterm](https://wezfurlong.org/wezterm/) - I started using this terminal emulator due to its multiplatform support and its depth of configurablity. - [ghostty](https://ghostty.org/) - I started using this one while it was still in beta, and its been my go-to terminal emulator on macOS since. -- [lix](https://lix.systems/) - This is a fork of nix and I've been using it for its cli stablity and improved performance. +- [lix](https://lix.systems/) - This is a fork of nix and I've been using it for its cli stability and improved performance. - [freeze](https://github.com/charmbracelet/freeze) - A lovely little tool for taking screenshots of code and sharing them with friends. Switching from WezTerm to Ghostty might seem odd, but the decision was clear: Ghostty’s native implementation offered unmatched speed and macOS integration, making it the superior choice for my needs. ### Languages -This year I didn't learn any new languages, but rather I decided to focus on improving my existing skills in Go, Java and Rust. I found during that time that I really do prefer Rust, this is largly due to the developer support through rust-anaylser and cargo clippy. +This year I didn't learn any new languages, but rather I decided to focus on improving my existing skills in Go, Java and Rust. I found during that time that I really do prefer Rust, this is largly due to the developer support through rust-analyzer and cargo clippy. ### New Projects @@ -36,4 +36,4 @@ This year, I abstracted by neovim configuration incredibly through the use of [c ## My goals for 2025 -I would like to get some more work done on my Wayland compositor. I would also love to grow my social media presense, and maybe even write 3 blog posts, which would be my appology for not writing one in 6 months. And you all know me; rewrite my nix config once or twice again... per week. +I would like to get some more work done on my Wayland compositor. I would also love to grow my social media presence, and maybe even write 3 blog posts, which would be my apology for not writing one in 6 months. And you all know me; rewrite my nix config once or twice again... per week. diff --git a/content/LICENCE b/content/LICENSE similarity index 100% rename from content/LICENCE rename to content/LICENSE diff --git a/content/experimenting-with-nix.md b/content/experimenting-with-nix.md index f7fa654..6a36f72 100644 --- a/content/experimenting-with-nix.md +++ b/content/experimenting-with-nix.md @@ -13,7 +13,7 @@ My latest addiction is [Nix](https://nixos.org). Those who have read my previous posts have probably noticed that I have made a few references to it here and there but nothing too deep, that is until now. -This article is going to detail some of the oddities and tips I have learned along the way. Just a fair warning, I am still learning and nix is ever-growing so some of these details may not be the same tomorrow or the next day. Also its a complete mess of hunderds of ideas that I have so prepare yourself. +This article is going to detail some of the oddities and tips I have learned along the way. Just a fair warning, I am still learning and nix is ever-growing so some of these details may not be the same tomorrow or the next day. Also its a complete mess of hundreds of ideas that I have so prepare yourself. ## shell.nix the file I have everywhere @@ -205,7 +205,7 @@ Then each host would look almost identical to the other but with slightly differ config.my.hostname = "host1"; } ``` -Changing the hostname per system like this is pretty trival and not much of a real use case, but if you put your mind to it you can start to see how you might make a set of packages apply across 2 systems but not a 3rd or 4th. +Changing the hostname per system like this is pretty trivial and not much of a real use case, but if you put your mind to it you can start to see how you might make a set of packages apply across 2 systems but not a 3rd or 4th. ## Conclusion diff --git a/content/im-not-mad-im-disapointed.md b/content/im-not-mad-im-disappointed.md similarity index 97% rename from content/im-not-mad-im-disapointed.md rename to content/im-not-mad-im-disappointed.md index db7df14..6444cc8 100644 --- a/content/im-not-mad-im-disapointed.md +++ b/content/im-not-mad-im-disappointed.md @@ -133,7 +133,7 @@ yourself if you ever get here. Instead, overlays should be consumed like hello = pkgs.callPackage ./default.nix { }; }; - # notice in this example we removed any refrence to `pkgs` and insted we use `prev` + # notice in this example we removed any reference to `pkgs` and instead we use `prev` # this means that the overlay is not system dependent default = final: prev: { hello = prev.callPackage ./default.nix { }; @@ -238,7 +238,7 @@ This brings me onto my final point, ### Stop using flake-utils flake-utils is often an extra dependency added for no good reason. The main -purpose for using it more modernly is its overrideable systems, they do this +purpose for using it more modernly is its overridable systems, they do this through an input from the [nix-systems](https://github.com/nix-systems) GitHub org. But more typically no one uses it for that, in fact most people use flake-utils for its ability to create system dependent outputs. This is what @@ -246,7 +246,7 @@ leads to the issues with `system` dependent `overlays`. But recall, I've already covered all of what you need to make your own flake-utils, through the usage of the `forAllSystems` function. -However, some of you may still want those overrideable systems. In which case +However, some of you may still want those overridable systems. In which case please consider writing this flake like this instead: ```nix diff --git a/content/nix-shells.md b/content/nix-shells.md index cbdc24b..c5b10a5 100644 --- a/content/nix-shells.md +++ b/content/nix-shells.md @@ -215,11 +215,11 @@ After reading all three of these example, I hope you understand why I personally ### But you didn't mention `pkgs.mkShellNoCC`? -The diffrence between difference these two is that `mkShell` includes a C compiler in the shell environment, whilst `mkShellNoCC` does not. So in a situation where you know you won't need any C compiler or related technogies its better to use `pkgs.mkShellNoCC`. +The difference between difference these two is that `mkShell` includes a C compiler in the shell environment, whilst `mkShellNoCC` does not. So in a situation where you know you won't need any C compiler or related technogies its better to use `pkgs.mkShellNoCC`. ### How about using my overlay? -My personal favorite has to be [oxalica/rust-overlay](https://github.com/oxalica/rust-overlay), so that is what we are going to use in this example. I heavily advice mainly using the flake to get reproducable outputs. +My personal favorite has to be [oxalica/rust-overlay](https://github.com/oxalica/rust-overlay), so that is what we are going to use in this example. I heavily advice mainly using the flake to get reproducible outputs. ```nix { @@ -253,7 +253,7 @@ My personal favorite has to be [oxalica/rust-overlay](https://github.com/oxalica } ``` -But you didn't include a shell.nix that time? I know thats beacuse I want to keep this as reproducable as possible and that beacomes difficult with overlays and staying backwards compatable. The below example shows how you could do this though its not exactly pretty. +But you didn't include a shell.nix that time? I know thats because I want to keep this as reproducible as possible and that beacomes difficult with overlays and staying backwards compatible. The below example shows how you could do this though its not exactly pretty. ```nix (import { @@ -283,7 +283,7 @@ fi ### Templates -Nix allows you to create reproducable templates for your project, so you only have to set these up one time and then you can reuse them for all your projects. +Nix allows you to create reproducible templates for your project, so you only have to set these up one time and then you can reuse them for all your projects. For example you can use my templates like so `nix flake init -t github:isabelroses/dotfiles#go` which will create a new go project in your current directory, or you can use `nix flake new -t github:isabelroses/dotfiles#rust cheese` which will create a new directory called `cheese` with the rust template defined [here](https://github.com/isabelroses/dotfiles/tree/main/parts/templates/rust). @@ -315,8 +315,8 @@ Now lets define our `flake.nix`: } ``` -You may have notice that we are not taking any inputs and are only producing outputs and thats beacuse we don't need a package set here. Then our `comfy/*` files will look like the ones we defined at the beginning of this post. +You may have notice that we are not taking any inputs and are only producing outputs and thats because we don't need a package set here. Then our `comfy/*` files will look like the ones we defined at the beginning of this post. ## Wrapping up -Nix is a great tool for managing dependencies, and I hope this post has helped you understand how to use it in your projects. If you have any futher questions feel free to [email me](mailto:isabel@isabelroses.com) or join [my discord server](https://discord.gg/8RVhHeJH3x). Thanks for reading!!! And If you really enjoyed the post please consider donating so I can keep doing this kind of thing on [kofi](https://ko-fi.com/isabelroses) or [GitHub Sponsers](https://github.com/sponsors/isabelroses). +Nix is a great tool for managing dependencies, and I hope this post has helped you understand how to use it in your projects. If you have any further questions feel free to [email me](mailto:isabel@isabelroses.com) or join [my discord server](https://discord.gg/8RVhHeJH3x). Thanks for reading!!! And If you really enjoyed the post please consider donating so I can keep doing this kind of thing on [kofi](https://ko-fi.com/isabelroses) or [GitHub Sponsors](https://github.com/sponsors/isabelroses). diff --git a/nix/shell.nix b/nix/shell.nix index a775b2d..f6c31e4 100644 --- a/nix/shell.nix +++ b/nix/shell.nix @@ -2,6 +2,7 @@ mkShell, callPackage, + typos, bacon, clippy, rustfmt, @@ -14,6 +15,7 @@ mkShell { inputsFrom = [ mainPkg ]; packages = [ + typos bacon clippy rustfmt diff --git a/src/data/badges.rs b/src/data/badges.rs index 4d066c3..b146845 100644 --- a/src/data/badges.rs +++ b/src/data/badges.rs @@ -51,7 +51,7 @@ pub const FRIENDS: &[Friend] = &[ }, Friend { link: "https://autumn.town", - badge: "autum.webp", + badge: "autumn.webp", }, Friend { link: "https://les.bi", diff --git a/static/badges/friends/autum.webp b/static/badges/friends/autumn.webp similarity index 100% rename from static/badges/friends/autum.webp rename to static/badges/friends/autumn.webp diff --git a/styles/main.scss b/styles/main.scss index e7ef61e..5018837 100644 --- a/styles/main.scss +++ b/styles/main.scss @@ -15,7 +15,7 @@ @use 'partials/donations.scss'; @use 'partials/blog-preview.scss'; @use 'partials/project.scss'; -@use 'partials/reuseable-header.scss'; +@use 'partials/reusable-header.scss'; @use 'partials/footer.scss'; @use 'partials/header.scss'; diff --git a/styles/partials/reuseable-header.scss b/styles/partials/reusable-header.scss similarity index 100% rename from styles/partials/reuseable-header.scss rename to styles/partials/reusable-header.scss