Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
a2118ac486
|
|||
|
a9f73167f3
|
Generated
+18
-18
@@ -8,11 +8,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1778716662,
|
"lastModified": 1775087534,
|
||||||
"narHash": "sha256-m1Yf0wZ8j1OHjTc2UwHwyQRSnNeSgLJOd7q5Y45hzi4=",
|
"narHash": "sha256-91qqW8lhL7TLwgQWijoGBbiD4t7/q75KTi8NxjVmSmA=",
|
||||||
"owner": "hercules-ci",
|
"owner": "hercules-ci",
|
||||||
"repo": "flake-parts",
|
"repo": "flake-parts",
|
||||||
"rev": "f7c1a2d347e4c52d5fb8d10cb4d94b5884e546fb",
|
"rev": "3107b77cd68437b9a76194f0f7f9c55f2329ca5b",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -28,11 +28,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1779726696,
|
"lastModified": 1777004352,
|
||||||
"narHash": "sha256-/p37CB5n6Wpw250b0Lq0CYwNq2D8uGKzDoBulyLcQqA=",
|
"narHash": "sha256-SV+9PgNwZ8jHVCjK6YaCBzaheLSW7cDnm5DpOYrD8Vw=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "1a95e2efb477959b70b4a14c51035975c0481df6",
|
"rev": "6012cf1fed3eba66115f3fd117b9be6bd2a15b2f",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -43,11 +43,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1779560665,
|
"lastModified": 1776548001,
|
||||||
"narHash": "sha256-tpyBcxPpcQb8ukyNF7DoCwfSY3VPsxHoYwj00Cayv5o=",
|
"narHash": "sha256-ZSK0NL4a1BwVbbTBoSnWgbJy9HeZFXLYQizjb2DPF24=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "64c08a7ca051951c8eae34e3e3cb1e202fe36786",
|
"rev": "b12141ef619e0a9c1c84dc8c684040326f27cdcc",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -66,11 +66,11 @@
|
|||||||
"systems": "systems"
|
"systems": "systems"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1779816597,
|
"lastModified": 1777051818,
|
||||||
"narHash": "sha256-Kgod3gZlhSp6WozZ2pFaclXbWpjs6kQLAtldoxb85Lc=",
|
"narHash": "sha256-2tuHuYmcg8HQSYamI1FoLLVFFOSYK2Alqr/cGiVIfG4=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "nixvim",
|
"repo": "nixvim",
|
||||||
"rev": "297f9341476ba7f821a42d7a2805e206ef8c6ef8",
|
"rev": "b684241888d9271ab5196383e24098ad4400a372",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -87,11 +87,11 @@
|
|||||||
"noctalia-qs": "noctalia-qs"
|
"noctalia-qs": "noctalia-qs"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1779763713,
|
"lastModified": 1776888984,
|
||||||
"narHash": "sha256-as2Vo4PitnWfXezfkQB2H3Rsr/DXJPp4Oe+dE+dZ0Xo=",
|
"narHash": "sha256-Up2F/eoMuPUsZnPVYdH5TMHe1TBP2Ue1QuWd0vWZoxY=",
|
||||||
"owner": "noctalia-dev",
|
"owner": "noctalia-dev",
|
||||||
"repo": "noctalia-shell",
|
"repo": "noctalia-shell",
|
||||||
"rev": "272cd91408b5ff6e329e6397eed042fe422069e7",
|
"rev": "2c1808f9f8937fc0b82c54af513f7620fec56d71",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -110,11 +110,11 @@
|
|||||||
"treefmt-nix": "treefmt-nix"
|
"treefmt-nix": "treefmt-nix"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1779588472,
|
"lastModified": 1776585574,
|
||||||
"narHash": "sha256-CVonDVo41DqdqS/kNeXFatwEuTltyXcppm9zkVOnrsM=",
|
"narHash": "sha256-j35EWhKoGhKrfcXcAOpoRVgXEPQt41Eukji/h59cnjk=",
|
||||||
"owner": "noctalia-dev",
|
"owner": "noctalia-dev",
|
||||||
"repo": "noctalia-qs",
|
"repo": "noctalia-qs",
|
||||||
"rev": "70fea8a39a908e395de63024a4dfdb829bff1ffe",
|
"rev": "75d180c28a9ab4470e980f3d6f706ad6c5213add",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|||||||
@@ -5,7 +5,6 @@
|
|||||||
../../modules/nixos/audio.nix
|
../../modules/nixos/audio.nix
|
||||||
../../modules/nixos/bootloader.nix
|
../../modules/nixos/bootloader.nix
|
||||||
../../modules/nixos/calibre.nix
|
../../modules/nixos/calibre.nix
|
||||||
../../modules/nixos/claudecode.nix
|
|
||||||
../../modules/nixos/certificates.nix
|
../../modules/nixos/certificates.nix
|
||||||
../../modules/nixos/drives.nix
|
../../modules/nixos/drives.nix
|
||||||
../../modules/nixos/gnupg.nix
|
../../modules/nixos/gnupg.nix
|
||||||
|
|||||||
@@ -13,7 +13,6 @@
|
|||||||
../../modules/nixos/noctalia.nix
|
../../modules/nixos/noctalia.nix
|
||||||
../../modules/nixos/openssh.nix
|
../../modules/nixos/openssh.nix
|
||||||
../../modules/nixos/packages.nix
|
../../modules/nixos/packages.nix
|
||||||
../../modules/nixos/protonvpn.nix
|
|
||||||
../../modules/nixos/sddm.nix
|
../../modules/nixos/sddm.nix
|
||||||
../../modules/nixos/services.nix
|
../../modules/nixos/services.nix
|
||||||
../../modules/nixos/settings.nix
|
../../modules/nixos/settings.nix
|
||||||
|
|||||||
@@ -3,12 +3,8 @@
|
|||||||
{
|
{
|
||||||
programs.nixvim = {
|
programs.nixvim = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
# set aliases
|
|
||||||
viAlias = true;
|
viAlias = true;
|
||||||
vimAlias = true;
|
vimAlias = true;
|
||||||
|
|
||||||
# default vim options
|
|
||||||
opts = {
|
opts = {
|
||||||
number = true;
|
number = true;
|
||||||
relativenumber = true;
|
relativenumber = true;
|
||||||
@@ -18,28 +14,17 @@
|
|||||||
incsearch = true;
|
incsearch = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
# nvim mapleader for all command below
|
# nvim mapleader
|
||||||
globals.mapleader = " ";
|
globals.mapleader = " ";
|
||||||
# set colorscheme to nord
|
# colorscheme
|
||||||
colorschemes.nord.enable = true;
|
colorschemes.nord.enable = true;
|
||||||
|
|
||||||
# nvim plugins
|
# nvim plugins
|
||||||
plugins.indent-blankline.enable = true;
|
plugins.indent-blankline.enable = true;
|
||||||
plugins.lualine.enable = true;
|
plugins.lualine.enable = true;
|
||||||
plugins.nix.enable = true;
|
|
||||||
plugins.nvim-tree.enable = true;
|
|
||||||
plugins.web-devicons.enable = true;
|
|
||||||
plugins.telescope = {
|
|
||||||
enable = true;
|
|
||||||
keymaps = {
|
|
||||||
"<leader>ff" = "find_files";
|
|
||||||
"<leader>fg" = "live_grep";
|
|
||||||
"<leader>fb" = "buffers";
|
|
||||||
"<leader>fh" = "help_tags";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
plugins.lsp = {
|
plugins.lsp = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
# lsp for typst
|
||||||
servers.tinymist = {
|
servers.tinymist = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
@@ -48,20 +33,22 @@
|
|||||||
semanticTokens = "disable"; # treesitter handles highlighting better
|
semanticTokens = "disable"; # treesitter handles highlighting better
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
servers.pyright.enable = true;
|
# minimal lsp keymaps
|
||||||
servers.ruff.enable = true;
|
|
||||||
keymaps.lspBuf = {
|
keymaps.lspBuf = {
|
||||||
"<leader>K" = "hover";
|
"K" = "hover";
|
||||||
"<leader>gd" = "definition";
|
"gd" = "definition";
|
||||||
"<leader>gr" = "references";
|
"gr" = "references";
|
||||||
"<leader>f" = "format";
|
"<leader>f" = "format";
|
||||||
"<leader>rn" = "rename";
|
"<leader>rn" = "rename";
|
||||||
"<leader>ca" = "code_action";
|
"<leader>ca" = "code_action";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
plugins.nix.enable = true;
|
||||||
|
plugins.nvim-tree.enable = true;
|
||||||
|
plugins.telescope.enable = true;
|
||||||
plugins.treesitter = {
|
plugins.treesitter = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings.ensure_installed = [ "markdown" "markdown_inline" "typst" ];
|
settings.ensure_installed = [ "typst" ];
|
||||||
};
|
};
|
||||||
plugins.typst-preview = {
|
plugins.typst-preview = {
|
||||||
enable = true;
|
enable = true;
|
||||||
@@ -77,21 +64,8 @@
|
|||||||
enable = true;
|
enable = true;
|
||||||
settings.pdf_viewer = "zathura";
|
settings.pdf_viewer = "zathura";
|
||||||
};
|
};
|
||||||
plugins.render-markdown = {
|
plugins.web-devicons.enable = true;
|
||||||
enable = true;
|
|
||||||
settings = {
|
|
||||||
# render in normal mode, raw source in insert
|
|
||||||
render_modes = [ "n" "c" "t"];
|
|
||||||
pipe_table.preset = "round";
|
|
||||||
heading.width = "block";
|
|
||||||
file_types = [ "markdown" ];
|
|
||||||
completions.lsp.enabled = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
# install dependencies
|
extraPlugins = [ pkgs.vimPlugins.plenary-nvim ];
|
||||||
home.packages = with pkgs; [
|
};
|
||||||
ripgrep
|
|
||||||
];
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -18,8 +18,5 @@
|
|||||||
|
|
||||||
# browsers
|
# browsers
|
||||||
programs.chromium.enable = true;
|
programs.chromium.enable = true;
|
||||||
programs.firefox = {
|
programs.firefox.enable = true;
|
||||||
enable = true;
|
|
||||||
configPath = "${config.xdg.configHome}/mozilla/firefox";
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,7 +0,0 @@
|
|||||||
{ config, lib, pkgs, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
environment.systemPackages = with pkgs; [
|
|
||||||
claude-code
|
|
||||||
];
|
|
||||||
}
|
|
||||||
@@ -32,9 +32,6 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# add trusted users (able to modify the nix store)
|
|
||||||
nix.settings.trusted-users = [ "root" "@wheel" ];
|
|
||||||
|
|
||||||
# allow unfree packages (steam, protonvpn, discord, etc.)
|
# allow unfree packages (steam, protonvpn, discord, etc.)
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user