diff options
| -rw-r--r-- | flake.lock | 21 | ||||
| -rw-r--r-- | flake.nix | 4 | ||||
| -rw-r--r-- | share/hm-modules/hyprdesktop.nix | 3 | ||||
| -rw-r--r-- | share/system/client-common.nix | 3 |
4 files changed, 28 insertions, 3 deletions
@@ -220,11 +220,32 @@ "flake-utils": "flake-utils", "home-manager": "home-manager", "nixpkgs": "nixpkgs", + "rust-overlay": "rust-overlay", "snippets-ls": "snippets-ls", "sops-nix": "sops-nix", "sorre-website": "sorre-website" } }, + "rust-overlay": { + "inputs": { + "nixpkgs": [ + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1722305989, + "narHash": "sha256-ljiuTGSFuEtudqFqp/5Wr1OuEsVCjur/F2CmlNujSjc=", + "owner": "oxalica", + "repo": "rust-overlay", + "rev": "38c2f156fca1868c8be7195ddac150522752f6ab", + "type": "github" + }, + "original": { + "owner": "oxalica", + "repo": "rust-overlay", + "type": "github" + } + }, "snippets-ls": { "inputs": { "nixpkgs": [ @@ -24,6 +24,10 @@ url = "github:quantonganh/snippets-ls"; inputs.nixpkgs.follows = "nixpkgs"; }; + rust-overlay = { + url = "github:oxalica/rust-overlay"; + inputs.nixpkgs.follows = "nixpkgs"; + }; }; outputs = diff --git a/share/hm-modules/hyprdesktop.nix b/share/hm-modules/hyprdesktop.nix index cdbb6ec..984065d 100644 --- a/share/hm-modules/hyprdesktop.nix +++ b/share/hm-modules/hyprdesktop.nix @@ -102,8 +102,6 @@ in # Developer stuff git gitui - cargo - rustc clang clangStdenv tinycc @@ -112,6 +110,7 @@ in go python3 lua + (rust-bin.selectLatestNightlyWith (toolchain: toolchain.default)) # TUI/GUI programs cmus # music player diff --git a/share/system/client-common.nix b/share/system/client-common.nix index 0f1f530..66977c4 100644 --- a/share/system/client-common.nix +++ b/share/system/client-common.nix @@ -1,7 +1,8 @@ # Common configuration options for client machines (i.e. not servers) -{ pkgs, ... }: +{ inputs, pkgs, ... }: { imports = [ ./steam.nix ]; + nixpkgs.overlays = [ inputs.rust-overlay.overlays.default ]; programs.hyprland.enable = true; boot.supportedFilesystems = [ |
