Compare commits

...

5 Commits

9 changed files with 43 additions and 16 deletions

View File

@@ -1,13 +1,14 @@
require("codecompanion").setup({
ignore_warnings = true,
extensions = {
mcphub = {
callback = "mcphub.extensions.codecompanion",
opts = {
make_vars = true,
make_slash_commands = true,
show_result_in_chat = true
}
}
show_result_in_chat = true,
},
},
},
strategies = {
chat = { adapter = "openai" },

View File

@@ -67,6 +67,7 @@ local servers = {
-- marksman = {},
nixd = {},
pyright = {},
rust_analyzer = {},
-- tsserver = {},
svelte = {
plugin = {

View File

@@ -10,7 +10,7 @@ local is_nix = nixCatsUtils.isNixCats
treesitter_configs.setup({
-- Basically added what I might need from the docs
-- <https://github.com/nvim-treesitter/nvim-treesitter?tab=readme-ov-file#supported-languages>
ensure_installed = {
ensure_installed = is_nix and {} or {
"awk",
"bash",
"bibtex",

View File

@@ -17,11 +17,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1764733908,
"narHash": "sha256-QJiih52NU+nm7XQWCj+K8SwUdIEayDQ1FQgjkYISt4I=",
"lastModified": 1764947035,
"narHash": "sha256-EYHSjVM4Ox4lvCXUMiKKs2vETUSL5mx+J2FfutM7T9w=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "cadcc8de247676e4751c9d4a935acb2c0b059113",
"rev": "a672be65651c80d3f592a89b3945466584a22069",
"type": "github"
},
"original": {

View File

@@ -71,6 +71,7 @@
nixd
nixfmt
prettierd
rust-analyzer-unwrapped
shellcheck-minimal
stylua
vscode-langservers-extracted

18
flake.lock generated
View File

@@ -29,11 +29,11 @@
},
"locked": {
"dir": "pkgs/firefox-addons",
"lastModified": 1764561884,
"narHash": "sha256-vQ3iFPPhxsLqV3c5kgmYP53mVD6id6gsP0tN+oTmqok=",
"lastModified": 1765057342,
"narHash": "sha256-a9hxZjrSl3WFp77yzWwTgBkgVZVavejafIb7CJYH+g8=",
"owner": "rycee",
"repo": "nur-expressions",
"rev": "aba4621459aec251d90d6452e3495b58a8a5e185",
"rev": "b0719627ac28759a9dc0d84f59a6f447591eff91",
"type": "gitlab"
},
"original": {
@@ -68,11 +68,11 @@
]
},
"locked": {
"lastModified": 1764544324,
"narHash": "sha256-GVBGjO7UsmzLrlOJV8NlKSxukHaHencrJqWkCA6FkqI=",
"lastModified": 1764998300,
"narHash": "sha256-fZatn/KLfHLDXnF0wy7JxXqGaZmGDTVufT4o/AOlj44=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "e4e25a8c310fa45f2a8339c7972dc43d2845a612",
"rev": "27a6182347ccae90a88231ae0dc5dfa7d15815bb",
"type": "github"
},
"original": {
@@ -153,11 +153,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1764517877,
"narHash": "sha256-pp3uT4hHijIC8JUK5MEqeAWmParJrgBVzHLNfJDZxg4=",
"lastModified": 1764950072,
"narHash": "sha256-BmPWzogsG2GsXZtlT+MTcAWeDK5hkbGRZTeZNW42fwA=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "2d293cbfa5a793b4c50d17c05ef9e385b90edf6c",
"rev": "f61125a668a320878494449750330ca58b78c557",
"type": "github"
},
"original": {

View File

@@ -13,6 +13,7 @@ in
../../modules/desktop/niri
../../modules/git.nix
../../modules/k9s.nix
(import ../../modules/shikane.nix { inherit pkgs; })
(import ../../modules/taskwarrior.nix {
inherit config;
inherit pkgs;

6
home/modules/shikane.nix Normal file
View File

@@ -0,0 +1,6 @@
{ pkgs, ... }:
{
home.packages = with pkgs; [ wdisplays ];
services.shikane.enable = true;
}

View File

@@ -42,6 +42,23 @@ in
})
];
hardware = {
cpu.intel.updateMicrocode = true;
# https://wiki.nixos.org/wiki/Intel_Graphics
graphics = {
enable = true;
extraPackages = with pkgs; [
intel-media-driver
vpl-gpu-rt
];
};
};
# https://wiki.nixos.org/wiki/Intel_Graphics
environment.sessionVariables = {
LIBVA_DRIVER_NAME = "iHD";
};
secrets.username = username;
environment.systemPackages = [