aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorAargh Rai <aargh.rai+git@gmail.com>2026-01-04 11:25:48 +0530
committerAargh Rai <aargh.rai+git@gmail.com>2026-01-04 11:25:48 +0530
commitaa0bdc1e4b65e3fbbb10c49cd1d4e20d491359b3 (patch)
tree65acefff0973b025ac0e9a9fd97c54d8289f284a /flake.nix
parent042ed4718236a375c99125772b60c9afa9cfd40f (diff)
rust lsp fix + languages on/off
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix29
1 files changed, 20 insertions, 9 deletions
diff --git a/flake.nix b/flake.nix
index 59e4b8f..d905048 100644
--- a/flake.nix
+++ b/flake.nix
@@ -15,8 +15,8 @@
zen-browser = {
url = "github:0xc000022070/zen-browser-flake";
inputs = {
- # IMPORTANT: we're using "libgbm" and is only available in unstable so ensure
- # to have it up-to-date or simply don't specify the nixpkgs input
+ # IMPORTANT: we're using "libgbm" and is only available in unstable so
+ # ensure to have it up-to-date or simply don't specify the nixpkgs input
nixpkgs.follows = "nixpkgs";
home-manager.follows = "home-manager";
};
@@ -34,16 +34,26 @@
system = "x86_64-linux";
username = "aargh";
hostname = "pegasus";
- nvidia = true;
- llm = true;
+ opt = {
+ nvidia = true;
+ llm = true;
+ };
+ languages = {
+ c = true;
+ asm = true;
+ lua = true;
+ python = true;
+
+ go = false;
+ beam = false;
+ javascript = false;
+ rust = false;
+ zig = false;
+ };
# This is where I have keep the dotfiles folder, replace it accordingly
symlinkRoot = "/home/${username}/dotfiles";
- pkgs = import nixpkgs {
- inherit system;
- config.allowUnfree = true;
- };
unstable = import nixpkgs-unstable {
inherit system;
config.allowUnfree = true;
@@ -52,7 +62,8 @@
nixosConfigurations.main = nixpkgs.lib.nixosSystem {
inherit system;
specialArgs = {
- inherit quickshell inputs system username hostname unstable symlinkRoot nvidia llm;
+ inherit quickshell inputs system
+ username hostname unstable symlinkRoot opt languages;
};
modules = [