diff --git a/flake.lock b/flake.lock index 77293b5..f05a87e 100644 --- a/flake.lock +++ b/flake.lock @@ -40,11 +40,11 @@ ] }, "locked": { - "lastModified": 1775829566, - "narHash": "sha256-gqCOU0W6/c8Qh/vF7/AnP4SNrzCL9Kj0eW5DO8w8Pog=", + "lastModified": 1779630419, + "narHash": "sha256-i6XdRfJ1T56RkEVdQZzZqJ+h1Fjian9x5peKH1FZg+U=", "owner": "elwrcl", "repo": "copetch", - "rev": "c26d0f31e6d83ad8a4461f3c2e44b9a24d39149e", + "rev": "2369e2315e7e2ec44df6b2e84f682d509c76b1b7", "type": "github" }, "original": { @@ -85,6 +85,20 @@ "type": "github" } }, + "flake-schemas": { + "locked": { + "lastModified": 1721999734, + "narHash": "sha256-G5CxYeJVm4lcEtaO87LKzOsVnWeTcHGKbKxNamNWgOw=", + "rev": "0a5c42297d870156d9c57d8f99e476b738dcd982", + "revCount": 75, + "type": "tarball", + "url": "https://api.flakehub.com/f/pinned/DeterminateSystems/flake-schemas/0.1.5/0190ef2f-61e0-794b-ba14-e82f225e55e6/source.tar.gz" + }, + "original": { + "type": "tarball", + "url": "https://flakehub.com/f/DeterminateSystems/flake-schemas/%3D0.1.5.tar.gz" + } + }, "flake-utils": { "inputs": { "systems": "systems" @@ -153,6 +167,27 @@ "nixpkgs" ] }, + "locked": { + "lastModified": 1779627636, + "narHash": "sha256-J6JGf42zNzLo/CrRdKb5dNznpLI+eGxN/5KTLG1Mo5s=", + "owner": "nix-community", + "repo": "home-manager", + "rev": "044c30c19550c0557997dece4ce9e54d2fa77ba1", + "type": "github" + }, + "original": { + "owner": "nix-community", + "repo": "home-manager", + "type": "github" + } + }, + "home-manager_2": { + "inputs": { + "nixpkgs": [ + "nyx-loner", + "nixpkgs" + ] + }, "locked": { "lastModified": 1779507042, "narHash": "sha256-7wOwi8B6D0BYsieZCnHZZj2sNUzgJhLoIVSfkwB7lxQ=", @@ -167,7 +202,7 @@ "type": "github" } }, - "home-manager_2": { + "home-manager_3": { "inputs": { "nixpkgs": [ "zen-browser", @@ -263,11 +298,11 @@ "xdph": "xdph" }, "locked": { - "lastModified": 1779479172, - "narHash": "sha256-M4JsvbhxoddXhZrJqbBBroifAu55WfH+SPWmJjKudvo=", + "lastModified": 1779622215, + "narHash": "sha256-Xct/RO79Cx0ySpjBX9Wc6ofx9jU+Y188NBvzv8Lsa88=", "owner": "hyprwm", "repo": "Hyprland", - "rev": "342f5bd9a3f5653d7fe5ce421ec1c05095485ab3", + "rev": "2dcb10a4c03a4d2ae96eb74b74209419020e0ba7", "type": "github" }, "original": { @@ -537,6 +572,28 @@ "type": "github" } }, + "jovian": { + "inputs": { + "nix-github-actions": "nix-github-actions", + "nixpkgs": [ + "nyx-loner", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1779525206, + "narHash": "sha256-5sr/1CIdf1qu6SCeM6qkiBCuD3s3P8TugUY4JKQ6kUI=", + "owner": "Jovian-Experiments", + "repo": "Jovian-NixOS", + "rev": "4b81cbddc037e480c2f3c20dee1a6457c6bb99b8", + "type": "github" + }, + "original": { + "owner": "Jovian-Experiments", + "repo": "Jovian-NixOS", + "type": "github" + } + }, "nix-darwin": { "inputs": { "nixpkgs": [ @@ -557,6 +614,29 @@ "type": "github" } }, + "nix-github-actions": { + "inputs": { + "nixpkgs": [ + "nyx-loner", + "jovian", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1729697500, + "narHash": "sha256-VFTWrbzDlZyFHHb1AlKRiD/qqCJIripXKiCSFS8fAOY=", + "owner": "zhaofengli", + "repo": "nix-github-actions", + "rev": "e418aeb728b6aa5ca8c5c71974e7159c2df1d8cf", + "type": "github" + }, + "original": { + "owner": "zhaofengli", + "ref": "matrix-name", + "repo": "nix-github-actions", + "type": "github" + } + }, "nixpkgs": { "locked": { "lastModified": 1779357205, @@ -575,11 +655,11 @@ }, "nixpkgs_2": { "locked": { - "lastModified": 1779357205, - "narHash": "sha256-cCO8aTqss5x9Ky8GWkpY0Hy5fyTZEbtifSUV8QjSzic=", + "lastModified": 1779508470, + "narHash": "sha256-Ap9KJX+5xHIn3bPIpfNgT6MEXdAECECwo4/rmlQD74M=", "owner": "nixos", "repo": "nixpkgs", - "rev": "f83fc3c307e74bc5fd5adb7eb6b8b13ffd2a36e1", + "rev": "29916453413845e54a65b8a1cf996842300cd299", "type": "github" }, "original": { @@ -589,6 +669,22 @@ "type": "github" } }, + "nixpkgs_3": { + "locked": { + "lastModified": 1779475168, + "narHash": "sha256-gm3D4FF9EcZlXK/ZnsC6IYzpEQplOoT+LPTurzOPyrk=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "a0991c886dc83e6e9de01d5266e4842985b1850e", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixpkgs-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, "noctalia": { "inputs": { "nixpkgs": [ @@ -597,11 +693,11 @@ "noctalia-qs": "noctalia-qs" }, "locked": { - "lastModified": 1779504029, - "narHash": "sha256-f8u9DV9Qk8KJh7DVvk4UgUFTN0NDJeFxgrffTSwPkpA=", + "lastModified": 1779591140, + "narHash": "sha256-G54zkslNueiiYDtg8QbAkPTv0/vfLzdjDsaUljlRQAE=", "owner": "noctalia-dev", "repo": "noctalia-shell", - "rev": "b99b7a7f06ff749df9ac43181ff7889ff90c5599", + "rev": "052f533186e6ad8e60541760cfe3123f14108c1e", "type": "github" }, "original": { @@ -620,11 +716,11 @@ "treefmt-nix": "treefmt-nix" }, "locked": { - "lastModified": 1778983195, - "narHash": "sha256-hE3EFK5GoSdbO5WHZ8bZDUVYkofbDLQN/KK25z7IOOI=", + "lastModified": 1779588472, + "narHash": "sha256-CVonDVo41DqdqS/kNeXFatwEuTltyXcppm9zkVOnrsM=", "owner": "noctalia-dev", "repo": "noctalia-qs", - "rev": "4116b41cdc89e186be7cb8b24a9b6022af95d742", + "rev": "70fea8a39a908e395de63024a4dfdb829bff1ffe", "type": "github" }, "original": { @@ -633,6 +729,28 @@ "type": "github" } }, + "nyx-loner": { + "inputs": { + "flake-schemas": "flake-schemas", + "home-manager": "home-manager_2", + "jovian": "jovian", + "nixpkgs": "nixpkgs_3", + "rust-overlay": "rust-overlay" + }, + "locked": { + "lastModified": 1779561381, + "narHash": "sha256-3MT9qB/i34B5JLTT7Tphjft8BypF6pevULbF0EnG3HQ=", + "owner": "lonerOrz", + "repo": "nyx-loner", + "rev": "57fb142e7609725fe13198d9cc184515412f4cc1", + "type": "github" + }, + "original": { + "owner": "lonerOrz", + "repo": "nyx-loner", + "type": "github" + } + }, "pre-commit-hooks": { "inputs": { "flake-compat": "flake-compat_2", @@ -666,9 +784,31 @@ "nix-darwin": "nix-darwin", "nixpkgs": "nixpkgs_2", "noctalia": "noctalia", + "nyx-loner": "nyx-loner", "zen-browser": "zen-browser" } }, + "rust-overlay": { + "inputs": { + "nixpkgs": [ + "nyx-loner", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1779506148, + "narHash": "sha256-OffE5yuMrSW71zIJNLvtl9MCO6WTAHEjlFPUCvkd/QM=", + "owner": "oxalica", + "repo": "rust-overlay", + "rev": "d9973e2ab49747fada06ebbe26cda27eb0220cf1", + "type": "github" + }, + "original": { + "owner": "oxalica", + "repo": "rust-overlay", + "type": "github" + } + }, "systems": { "locked": { "lastModified": 1681028828, @@ -779,7 +919,7 @@ }, "zen-browser": { "inputs": { - "home-manager": "home-manager_2", + "home-manager": "home-manager_3", "nixpkgs": [ "nixpkgs" ] diff --git a/flake.nix b/flake.nix index bb23cee..7c3e66c 100644 --- a/flake.nix +++ b/flake.nix @@ -3,6 +3,7 @@ inputs = { nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; + nyx-loner.url = "github:lonerOrz/nyx-loner"; nix-darwin = { url = "github:LnL7/nix-darwin"; inputs.nixpkgs.follows = "nixpkgs"; @@ -40,6 +41,7 @@ nixpkgs, nix-darwin, home-manager, + nyx-loner, ... }: let @@ -55,6 +57,7 @@ modules = [ { nixpkgs.hostPlatform = linuxSystem; } home-manager.nixosModules.home-manager + nyx-loner.nixosModules.default { nixpkgs.overlays = [ (final: prev: { diff --git a/home/shared.nix b/home/shared.nix index dc99d68..f6ec74d 100644 --- a/home/shared.nix +++ b/home/shared.nix @@ -19,7 +19,7 @@ programs.ghostty = { enable = true; - }; + }; programs.starship.enable = true; programs.fzf.enable = true; diff --git a/nixos/boot/default.nix b/nixos/boot/default.nix index dc207c2..c0be730 100644 --- a/nixos/boot/default.nix +++ b/nixos/boot/default.nix @@ -9,7 +9,7 @@ environment.systemPackages = [ pkgs.efibootmgr ]; - boot.kernelPackages = pkgs.linuxPackages_latest; + boot.kernelPackages = pkgs.linuxPackages_cachyos-gcc; boot.kernelParams = [ "preempt=full" diff --git a/nixos/system/nix/default.nix b/nixos/system/nix/default.nix index 6ebff3f..1586bd0 100644 --- a/nixos/system/nix/default.nix +++ b/nixos/system/nix/default.nix @@ -17,6 +17,7 @@ "https://nix-community.cachix.org" "https://noctalia.cachix.org" "https://hyprland.cachix.org" + "https://cache.garnix.io" ]; trusted-public-keys = [ "cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=" @@ -25,7 +26,9 @@ "ezkea.cachix.org-1:ioBmUbJTZIKsHmWWXPe1FSFbeVe+afhfgqgTSNd34eI=" "noctalia.cachix.org-1:pCOR47nnMEo5thcxNDtzWpOxNFQsBRglJzxWPp3dkU4=" "hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc=" + "cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g=" ]; }; programs.nix-ld.enable = true; + chaotic.nyx.cache.enable = false; }