Compare commits
6 commits
aramis-tmp
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| eaf542722a | |||
| 95363f49e6 | |||
| dbb6f235fd | |||
| cea0410c3d | |||
| 762779c461 | |||
| 277ed53bb0 |
8 changed files with 27 additions and 25 deletions
30
flake.lock
generated
30
flake.lock
generated
|
|
@ -73,11 +73,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1772408722,
|
"lastModified": 1775087534,
|
||||||
"narHash": "sha256-rHuJtdcOjK7rAHpHphUb1iCvgkU3GpfvicLMwwnfMT0=",
|
"narHash": "sha256-91qqW8lhL7TLwgQWijoGBbiD4t7/q75KTi8NxjVmSmA=",
|
||||||
"owner": "hercules-ci",
|
"owner": "hercules-ci",
|
||||||
"repo": "flake-parts",
|
"repo": "flake-parts",
|
||||||
"rev": "f20dc5d9b8027381c474144ecabc9034d6a839a3",
|
"rev": "3107b77cd68437b9a76194f0f7f9c55f2329ca5b",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -117,11 +117,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1775036584,
|
"lastModified": 1775585728,
|
||||||
"narHash": "sha256-zW0lyy7ZNNT/x8JhzFHBsP2IPx7ATZIPai4FJj12BgU=",
|
"narHash": "sha256-8Psjt+TWvE4thRKktJsXfR6PA/fWWsZ04DVaY6PUhr4=",
|
||||||
"owner": "cachix",
|
"owner": "cachix",
|
||||||
"repo": "git-hooks.nix",
|
"repo": "git-hooks.nix",
|
||||||
"rev": "4e0eb042b67d863b1b34b3f64d52ceb9cd926735",
|
"rev": "580633fa3fe5fc0379905986543fd7495481913d",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -159,11 +159,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1774991950,
|
"lastModified": 1775622785,
|
||||||
"narHash": "sha256-kScKj3qJDIWuN9/6PMmgy5esrTUkYinrO5VvILik/zw=",
|
"narHash": "sha256-/yFxO+7oS1SymDfJ2iVO7K5vJKcYfe9XGIJ+quLqz0Q=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "f2d3e04e278422c7379e067e323734f3e8c585a7",
|
"rev": "527e47b78fe67213072f706bf933a9705a8c4974",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -175,11 +175,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1775020384,
|
"lastModified": 1775423009,
|
||||||
"narHash": "sha256-3XiHDhiNxb2vWI0en8ug7WBMEPj9mcaWcMhaFFfhfJY=",
|
"narHash": "sha256-vPKLpjhIVWdDrfiUM8atW6YkIggCEKdSAlJPzzhkQlw=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "c9971bfbabf2fa3f3b7e6e4cbeaa2abd6295b478",
|
"rev": "68d8aa3d661f0e6bd5862291b5bb263b2a6595c9",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -199,11 +199,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1775037587,
|
"lastModified": 1775654726,
|
||||||
"narHash": "sha256-3weRbM7ODQocl6wTgyuKPubhpjS4zP2VA5YxeDx6YG8=",
|
"narHash": "sha256-4R6Bc5EIQ+HxVte1Mo1B3OkyYFVmehywOPiH3Z9CAIU=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "NUR",
|
"repo": "NUR",
|
||||||
"rev": "0a0ed0957d4fee887d5101d3975d40e98658d75c",
|
"rev": "c73a8885bd1bb5d329e16a4512e2c2708c5981a7",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
||||||
|
|
@ -10,8 +10,10 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
home.packages = [
|
programs.calibre = {
|
||||||
cfg.package
|
enable = true;
|
||||||
];
|
|
||||||
|
inherit (cfg) package;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
*.out
|
*.out
|
||||||
|
|
||||||
# Python files
|
# Python files
|
||||||
env/
|
.venv/
|
||||||
__pycache__/
|
__pycache__/
|
||||||
*.py[cod]
|
*.py[cod]
|
||||||
.mypy_cache/
|
.mypy_cache/
|
||||||
|
|
|
||||||
|
|
@ -82,7 +82,7 @@ local keys = {
|
||||||
|
|
||||||
-- Disable option
|
-- Disable option
|
||||||
{ "]o", group = "Disable option" },
|
{ "]o", group = "Disable option" },
|
||||||
{ "]ob", desc = "Light background" },
|
{ "]ob", desc = "Dark background" },
|
||||||
{ "]oc", desc = "Cursor line" },
|
{ "]oc", desc = "Cursor line" },
|
||||||
{ "]od", desc = "Diff" },
|
{ "]od", desc = "Diff" },
|
||||||
{ "]of", "<cmd>FormatDisable<CR>", desc = "LSP Formatting" },
|
{ "]of", "<cmd>FormatDisable<CR>", desc = "LSP Formatting" },
|
||||||
|
|
@ -101,7 +101,7 @@ local keys = {
|
||||||
|
|
||||||
-- Toggle option
|
-- Toggle option
|
||||||
{ "yo", group = "Toggle option" },
|
{ "yo", group = "Toggle option" },
|
||||||
{ "yob", desc = "Light background" },
|
{ "yob", desc = "Toggle background" },
|
||||||
{ "yoc", desc = "Cursor line" },
|
{ "yoc", desc = "Cursor line" },
|
||||||
{ "yod", desc = "Diff" },
|
{ "yod", desc = "Diff" },
|
||||||
{ "yof", "<cmd>FormatToggle<CR>", desc = "LSP Formatting" },
|
{ "yof", "<cmd>FormatToggle<CR>", desc = "LSP Formatting" },
|
||||||
|
|
|
||||||
|
|
@ -112,7 +112,7 @@ colorscheme gruvbox
|
||||||
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||||
" Enable search high-lighting while the search is on-going
|
" Enable search high-lighting while the search is on-going
|
||||||
set hlsearch
|
set hlsearch
|
||||||
" Ignore case on search
|
" Ignore case on search unless \C is in search terms
|
||||||
set ignorecase
|
set ignorecase
|
||||||
" Ignore case unless there is an uppercase letter in the pattern
|
" Ignore case unless there is an uppercase letter in the pattern
|
||||||
set smartcase
|
set smartcase
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
-- Show lines numbers
|
-- Show lines numbers
|
||||||
vim.opt.number = true
|
vim.opt.number = true
|
||||||
|
|
||||||
local numbertoggle = vim.api.nvim_create_augroup("numbertoggle", { clear = true })
|
local numbertoggle = vim.api.nvim_create_augroup("ambroisie.numbertoggle", { clear = true })
|
||||||
|
|
||||||
-- Toggle numbers between relative and absolute when changing buffers
|
-- Toggle numbers between relative and absolute when changing buffers
|
||||||
vim.api.nvim_create_autocmd({ "BufEnter", "FocusGained", "InsertLeave", "WinEnter" }, {
|
vim.api.nvim_create_autocmd({ "BufEnter", "FocusGained", "InsertLeave", "WinEnter" }, {
|
||||||
|
|
|
||||||
|
|
@ -83,7 +83,7 @@ end
|
||||||
|
|
||||||
vim.api.nvim_create_autocmd("FileType", {
|
vim.api.nvim_create_autocmd("FileType", {
|
||||||
pattern = "*",
|
pattern = "*",
|
||||||
group = vim.api.nvim_create_augroup("treesitter_attach", { clear = true }),
|
group = vim.api.nvim_create_augroup("ambroisie.treesitter_attach", { clear = true }),
|
||||||
callback = function(args)
|
callback = function(args)
|
||||||
local buf, filetype = args.buf, args.match
|
local buf, filetype = args.buf, args.match
|
||||||
local language = vim.treesitter.language.get_lang(filetype)
|
local language = vim.treesitter.language.get_lang(filetype)
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
local signtoggle = vim.api.nvim_create_augroup("signtoggle", { clear = true })
|
local signtoggle = vim.api.nvim_create_augroup("ambroisie.signtoggle", { clear = true })
|
||||||
|
|
||||||
-- Only show sign column for the currently focused buffer, if it has a number column
|
-- Only show sign column for the currently focused buffer, if it has a number column
|
||||||
vim.api.nvim_create_autocmd({ "BufEnter", "FocusGained", "WinEnter" }, {
|
vim.api.nvim_create_autocmd({ "BufEnter", "FocusGained", "WinEnter" }, {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue