tonybtw.com

tonybtw.com

https://git.tonybtw.com/tonybtw.com.git git://git.tonybtw.com/tonybtw.com.git

Fixed typos

Commit
49ec96159323824571e49b3f71acb2aee367836f
Parent
a5f81fa
Author
tonybtw <tonybtw@tonybtw.com>
Date
2025-11-11 08:14:45

Diff

diff --git a/content/tutorial/niri/index.md b/content/tutorial/niri/index.md
index 3181d9a..3bdafb6 100644
--- a/content/tutorial/niri/index.md
+++ b/content/tutorial/niri/index.md
@@ -223,27 +223,46 @@ For NixOS, noctalia-shell needs to be added as a flake input. Add this to your f
 
 ```nix
 {
+  description = "NixOS configuration with Noctalia";
+
   inputs = {
     nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
-    noctalia-shell.url = "github:Noctalia-Shell/noctalia-shell";
+
+    quickshell = {
+      url = "github:outfoxxed/quickshell";
+      inputs.nixpkgs.follows = "nixpkgs";
+    };
+    noctalia = {
+      url = "github:noctalia-dev/noctalia-shell";
+      inputs.nixpkgs.follows = "nixpkgs";
+      inputs.quickshell.follows = "quickshell";  # Use same quickshell version
+    };
   };
 
-  outputs = { self, nixpkgs, noctalia-shell }: {
-    nixosConfigurations.yourHostname = nixpkgs.lib.nixosSystem {
-      system = "x86_64-linux";
+  outputs = inputs@{ self, nixpkgs, ... }: {
+    nixosConfigurations.awesomebox = nixpkgs.lib.nixosSystem {
       modules = [
-        ./configuration.nix
-        ({ pkgs, ... }: {
-          environment.systemPackages = [
-            noctalia-shell.packages.x86_64-linux.default
-          ];
-        })
+        # ... other modules
+        ./noctalia.nix
       ];
     };
   };
 }
 ```
 
+And in your configuration.nix:
+
+```nix 
+{ pkgs, inputs, ... }:
+{
+  # install package
+  environment.systemPackages = with pkgs; [
+    inputs.noctalia.packages.${system}.default
+    # ... maybe other stuff
+  ];
+}
+```
+
 
 #### Gentoo {#gentoo}
 
@@ -256,7 +275,7 @@ cd quickshell
 # Follow the build instructions in their README
 
 # Then install noctalia-shell
-git clone https://github.com/Noctalia-Shell/noctalia-shell
+git clone https://github.com/noctalia-dev/noctalia-shell
 # Copy the config to ~/.config/quickshell/noctalia
 ```