My Blog, build with Norgolith blog.ladas552.me
blog

Flake that adds norgolith to shell

+126 -3
+19
Rattman/content/time_waster.norg
··· 1 + @document.meta 2 + title: Time Waster 3 + description: How to waste time without burden 4 + authors: [ 5 + ladas552 6 + ] 7 + categories: [ 8 + NixOS 9 + productivity 10 + ] 11 + created: 2025-03-04T12:35:03+05:00 12 + updated: 2025-03-04T12:35:03+05:00 13 + draft: true 14 + version: 1.1.1 15 + @end 16 + 17 + * Time Waster 18 + Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut 19 + labore et dolore magna aliqua. Lobortis scelerisque fermentum dui faucibus in ornare.
+96
flake.lock
··· 1 + { 2 + "nodes": { 3 + "flake-utils": { 4 + "inputs": { 5 + "systems": "systems" 6 + }, 7 + "locked": { 8 + "lastModified": 1731533236, 9 + "narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=", 10 + "owner": "numtide", 11 + "repo": "flake-utils", 12 + "rev": "11707dc2f618dd54ca8739b309ec4fc024de578b", 13 + "type": "github" 14 + }, 15 + "original": { 16 + "owner": "numtide", 17 + "repo": "flake-utils", 18 + "type": "github" 19 + } 20 + }, 21 + "nixpkgs": { 22 + "locked": { 23 + "lastModified": 1741010256, 24 + "narHash": "sha256-WZNlK/KX7Sni0RyqLSqLPbK8k08Kq7H7RijPJbq9KHM=", 25 + "owner": "nixos", 26 + "repo": "nixpkgs", 27 + "rev": "ba487dbc9d04e0634c64e3b1f0d25839a0a68246", 28 + "type": "github" 29 + }, 30 + "original": { 31 + "owner": "nixos", 32 + "ref": "nixos-unstable", 33 + "repo": "nixpkgs", 34 + "type": "github" 35 + } 36 + }, 37 + "nixpkgs_2": { 38 + "locked": { 39 + "lastModified": 1738142207, 40 + "narHash": "sha256-NGqpVVxNAHwIicXpgaVqJEJWeyqzoQJ9oc8lnK9+WC4=", 41 + "owner": "nixos", 42 + "repo": "nixpkgs", 43 + "rev": "9d3ae807ebd2981d593cddd0080856873139aa40", 44 + "type": "github" 45 + }, 46 + "original": { 47 + "owner": "nixos", 48 + "ref": "nixos-unstable", 49 + "repo": "nixpkgs", 50 + "type": "github" 51 + } 52 + }, 53 + "norgolith": { 54 + "inputs": { 55 + "flake-utils": "flake-utils", 56 + "nixpkgs": "nixpkgs_2" 57 + }, 58 + "locked": { 59 + "lastModified": 1740992364, 60 + "narHash": "sha256-CwPd5FZmf7ya1oKKT+5n14/GK9NDyu4bsPEMg+TpmVg=", 61 + "owner": "NTBBloodbath", 62 + "repo": "norgolith", 63 + "rev": "a3fbee0831d0b490f9baf5c445de7ef1ad1cd5cb", 64 + "type": "github" 65 + }, 66 + "original": { 67 + "owner": "NTBBloodbath", 68 + "repo": "norgolith", 69 + "type": "github" 70 + } 71 + }, 72 + "root": { 73 + "inputs": { 74 + "nixpkgs": "nixpkgs", 75 + "norgolith": "norgolith" 76 + } 77 + }, 78 + "systems": { 79 + "locked": { 80 + "lastModified": 1681028828, 81 + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", 82 + "owner": "nix-systems", 83 + "repo": "default", 84 + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", 85 + "type": "github" 86 + }, 87 + "original": { 88 + "owner": "nix-systems", 89 + "repo": "default", 90 + "type": "github" 91 + } 92 + } 93 + }, 94 + "root": "root", 95 + "version": 7 96 + }
+11 -3
flake.nix
··· 1 1 { 2 - description = "A very basic flake"; 2 + description = "Shell with norgolith"; 3 3 4 4 inputs = { 5 5 nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable"; ··· 13 13 nixpkgs, 14 14 norgolith, 15 15 ... 16 - }@inputs: 16 + }: 17 17 { 18 18 19 19 packages.x86_64-linux.default = norgolith.packages.x86_64-linux.default; 20 - 20 + devShells.x86_64-linux = 21 + let 22 + pkgs = nixpkgs.legacyPackages.x86_64-linux; 23 + in 24 + { 25 + default = pkgs.mkShell { 26 + packages = [ self.packages.x86_64-linux.default ]; 27 + }; 28 + }; 21 29 }; 22 30 }
‎.envrc .envrc