Compare commits
5 Commits
36cdaac5ad
...
ec595c6f52
| Author | SHA1 | Date | |
|---|---|---|---|
| ec595c6f52 | |||
| 2326ac1e78 | |||
| 14abad0b98 | |||
| f5ffa8b9d1 | |||
| 7b9eac546b |
@@ -1,13 +1,14 @@
|
|||||||
require("codecompanion").setup({
|
require("codecompanion").setup({
|
||||||
|
ignore_warnings = true,
|
||||||
extensions = {
|
extensions = {
|
||||||
mcphub = {
|
mcphub = {
|
||||||
callback = "mcphub.extensions.codecompanion",
|
callback = "mcphub.extensions.codecompanion",
|
||||||
opts = {
|
opts = {
|
||||||
make_vars = true,
|
make_vars = true,
|
||||||
make_slash_commands = true,
|
make_slash_commands = true,
|
||||||
show_result_in_chat = true
|
show_result_in_chat = true,
|
||||||
}
|
},
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
strategies = {
|
strategies = {
|
||||||
chat = { adapter = "openai" },
|
chat = { adapter = "openai" },
|
||||||
|
|||||||
@@ -67,6 +67,7 @@ local servers = {
|
|||||||
-- marksman = {},
|
-- marksman = {},
|
||||||
nixd = {},
|
nixd = {},
|
||||||
pyright = {},
|
pyright = {},
|
||||||
|
rust_analyzer = {},
|
||||||
-- tsserver = {},
|
-- tsserver = {},
|
||||||
svelte = {
|
svelte = {
|
||||||
plugin = {
|
plugin = {
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ local is_nix = nixCatsUtils.isNixCats
|
|||||||
treesitter_configs.setup({
|
treesitter_configs.setup({
|
||||||
-- Basically added what I might need from the docs
|
-- Basically added what I might need from the docs
|
||||||
-- <https://github.com/nvim-treesitter/nvim-treesitter?tab=readme-ov-file#supported-languages>
|
-- <https://github.com/nvim-treesitter/nvim-treesitter?tab=readme-ov-file#supported-languages>
|
||||||
ensure_installed = {
|
ensure_installed = is_nix and {} or {
|
||||||
"awk",
|
"awk",
|
||||||
"bash",
|
"bash",
|
||||||
"bibtex",
|
"bibtex",
|
||||||
|
|||||||
6
dots/.config/nvim/flake.lock
generated
6
dots/.config/nvim/flake.lock
generated
@@ -17,11 +17,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1764733908,
|
"lastModified": 1764947035,
|
||||||
"narHash": "sha256-QJiih52NU+nm7XQWCj+K8SwUdIEayDQ1FQgjkYISt4I=",
|
"narHash": "sha256-EYHSjVM4Ox4lvCXUMiKKs2vETUSL5mx+J2FfutM7T9w=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "cadcc8de247676e4751c9d4a935acb2c0b059113",
|
"rev": "a672be65651c80d3f592a89b3945466584a22069",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|||||||
@@ -71,6 +71,7 @@
|
|||||||
nixd
|
nixd
|
||||||
nixfmt
|
nixfmt
|
||||||
prettierd
|
prettierd
|
||||||
|
rust-analyzer-unwrapped
|
||||||
shellcheck-minimal
|
shellcheck-minimal
|
||||||
stylua
|
stylua
|
||||||
vscode-langservers-extracted
|
vscode-langservers-extracted
|
||||||
|
|||||||
18
flake.lock
generated
18
flake.lock
generated
@@ -29,11 +29,11 @@
|
|||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"dir": "pkgs/firefox-addons",
|
"dir": "pkgs/firefox-addons",
|
||||||
"lastModified": 1764561884,
|
"lastModified": 1765057342,
|
||||||
"narHash": "sha256-vQ3iFPPhxsLqV3c5kgmYP53mVD6id6gsP0tN+oTmqok=",
|
"narHash": "sha256-a9hxZjrSl3WFp77yzWwTgBkgVZVavejafIb7CJYH+g8=",
|
||||||
"owner": "rycee",
|
"owner": "rycee",
|
||||||
"repo": "nur-expressions",
|
"repo": "nur-expressions",
|
||||||
"rev": "aba4621459aec251d90d6452e3495b58a8a5e185",
|
"rev": "b0719627ac28759a9dc0d84f59a6f447591eff91",
|
||||||
"type": "gitlab"
|
"type": "gitlab"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -68,11 +68,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1764544324,
|
"lastModified": 1764998300,
|
||||||
"narHash": "sha256-GVBGjO7UsmzLrlOJV8NlKSxukHaHencrJqWkCA6FkqI=",
|
"narHash": "sha256-fZatn/KLfHLDXnF0wy7JxXqGaZmGDTVufT4o/AOlj44=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "e4e25a8c310fa45f2a8339c7972dc43d2845a612",
|
"rev": "27a6182347ccae90a88231ae0dc5dfa7d15815bb",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -153,11 +153,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1764517877,
|
"lastModified": 1764950072,
|
||||||
"narHash": "sha256-pp3uT4hHijIC8JUK5MEqeAWmParJrgBVzHLNfJDZxg4=",
|
"narHash": "sha256-BmPWzogsG2GsXZtlT+MTcAWeDK5hkbGRZTeZNW42fwA=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "2d293cbfa5a793b4c50d17c05ef9e385b90edf6c",
|
"rev": "f61125a668a320878494449750330ca58b78c557",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|||||||
@@ -13,6 +13,7 @@ in
|
|||||||
../../modules/desktop/niri
|
../../modules/desktop/niri
|
||||||
../../modules/git.nix
|
../../modules/git.nix
|
||||||
../../modules/k9s.nix
|
../../modules/k9s.nix
|
||||||
|
(import ../../modules/shikane.nix { inherit pkgs; })
|
||||||
(import ../../modules/taskwarrior.nix {
|
(import ../../modules/taskwarrior.nix {
|
||||||
inherit config;
|
inherit config;
|
||||||
inherit pkgs;
|
inherit pkgs;
|
||||||
|
|||||||
6
home/modules/shikane.nix
Normal file
6
home/modules/shikane.nix
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
{ pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
home.packages = with pkgs; [ wdisplays ];
|
||||||
|
services.shikane.enable = true;
|
||||||
|
}
|
||||||
@@ -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;
|
secrets.username = username;
|
||||||
|
|
||||||
environment.systemPackages = [
|
environment.systemPackages = [
|
||||||
|
|||||||
Reference in New Issue
Block a user