summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Vink <ivi@vinkies.net>2023-12-03 20:38:33 +0100
committerMike Vink <ivi@vinkies.net>2023-12-03 20:38:33 +0100
commit1d3adcf453cd1772f3ed0887ca0b224d3eab1c56 (patch)
treeb292b83296d2a8a9984edd07341921fe0c1680c0
parent41ebf219c1f715fd597a9ec70f57887094ff3241 (diff)
fixup
-rw-r--r--flake.nix7
-rw-r--r--mut/neovim/fnl/conf/pkgs/lspconfig.fnl4
-rw-r--r--profiles/station/suckless.nix4
3 files changed, 7 insertions, 8 deletions
diff --git a/flake.nix b/flake.nix
index cbbdac7..47a7b20 100644
--- a/flake.nix
+++ b/flake.nix
@@ -23,17 +23,14 @@
let
system = "x86_64-linux";
pkgs = import nixpkgs {inherit system;};
- lib = (nixpkgs.lib.extend (_: _: home-manager.lib)).extend (import ./lib self);
+ lib = (nixpkgs.lib.extend (_: _: home-manager.lib)).extend (import ./ivi self);
# Gets module from ./machines/ and uses the lib to define which other modules
# the machine needs.
- # let
- # machine = ivi.machines.${name};
- # in
mkSystem = machine: machineConfig: with lib;
lib.nixosSystem {
inherit lib system;
- specialArgs = {inherit machine inputs;};
+ specialArgs = {inherit self machine inputs;};
modules = with lib;
machine.modules
++ machineConfig
diff --git a/mut/neovim/fnl/conf/pkgs/lspconfig.fnl b/mut/neovim/fnl/conf/pkgs/lspconfig.fnl
index 64220b9..82ca385 100644
--- a/mut/neovim/fnl/conf/pkgs/lspconfig.fnl
+++ b/mut/neovim/fnl/conf/pkgs/lspconfig.fnl
@@ -5,7 +5,9 @@
(lspconfig.rust_analyzer.setup
{:settings
{:rust-analyzer
- {:cargo {:features [:ssr]}}}
+ {:cargo {:buildScripts {:enable true}}
+ :procMacro {:enable true :attributes {:enable true}}
+ :inlayHints {:enable true}}}
:root_dir
(lspconfig.util.root_pattern
:.git
diff --git a/profiles/station/suckless.nix b/profiles/station/suckless.nix
index abdaf54..e991e9d 100644
--- a/profiles/station/suckless.nix
+++ b/profiles/station/suckless.nix
@@ -1,12 +1,12 @@
{
- flake,
+ self,
config,
pkgs,
suckless,
lib,
...
}: with lib; {
- nixpkgs.overlays = [(import ./overlays/suckless.nix {inherit pkgs; home = config.ivi.home;})];
+ nixpkgs.overlays = [(import (self + "/overlays/suckless.nix") {inherit pkgs; home = config.ivi.home;})];
hm = {
xsession = {
enable = true;