Compare commits
10 Commits
b561fe445c
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| 87fa4814f9 | |||
|
4c4c5e54a1
|
|||
|
a2db2b1922
|
|||
| cd26a6891e | |||
|
ec8b9eb1b8
|
|||
|
69915d089d
|
|||
|
5b70399dba
|
|||
| 38ce579039 | |||
| cacc3c20a4 | |||
|
390c6e3a3d
|
44
flake.lock
generated
44
flake.lock
generated
@ -5,11 +5,11 @@
|
|||||||
"nixpkgs": "nixpkgs"
|
"nixpkgs": "nixpkgs"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1782462517,
|
"lastModified": 1784366307,
|
||||||
"narHash": "sha256-HPzOASBxx1bAnPREm4syM5oTb8ls2qbudkLW4BTB94s=",
|
"narHash": "sha256-VKatYOZwLQ+MuNkWH6/gZYxrNeSK1Mqb7mC0H1WSu+M=",
|
||||||
"owner": "catppuccin",
|
"owner": "catppuccin",
|
||||||
"repo": "nix",
|
"repo": "nix",
|
||||||
"rev": "3f3b3511f9c433b93f20b24be32de01f675b046d",
|
"rev": "673f730d0fc8db3468c51575f1d3d777cc55e51f",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -49,11 +49,11 @@
|
|||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"dir": "pkgs/firefox-addons",
|
"dir": "pkgs/firefox-addons",
|
||||||
"lastModified": 1782446584,
|
"lastModified": 1784402804,
|
||||||
"narHash": "sha256-Biqg+xsXAYC/C6iOeh1OSdIAhvpTlMpB17TTRmejjx0=",
|
"narHash": "sha256-NKjHErNuyO2x+YBUNOJy/8uKXfuMX60SLFuvZiMYdA8=",
|
||||||
"owner": "rycee",
|
"owner": "rycee",
|
||||||
"repo": "nur-expressions",
|
"repo": "nur-expressions",
|
||||||
"rev": "0672374ed1b75645f1e97828721a4d688182b75f",
|
"rev": "775bd8e526823ab58efe5d1fc269f2a60c3de2c1",
|
||||||
"type": "gitlab"
|
"type": "gitlab"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -86,11 +86,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1782423922,
|
"lastModified": 1784489491,
|
||||||
"narHash": "sha256-qPNd6lUohHP5gcJhqQ7rLV87RwIx0xYR2A4Frb9Zjc4=",
|
"narHash": "sha256-j9maqjx1T8+ljAVntAdSI5hSGCm77QNZz64JF1rJNu0=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "5d320ab301cfaaca7d32514f13815d19d109f5f4",
|
"rev": "3139deb8cafbe73b39b24451255b2fdd3426077e",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -105,11 +105,11 @@
|
|||||||
"nixpkgs": "nixpkgs_3"
|
"nixpkgs": "nixpkgs_3"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1782379505,
|
"lastModified": 1784310968,
|
||||||
"narHash": "sha256-zPvPiU+a7pqtH47xrtZLNRABJKpOjfZQclDbcvNtH+I=",
|
"narHash": "sha256-rkSPTePrKqs4dg+i7ZFCq93+HrClac6oSwXX927SVjA=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixos-hardware",
|
"repo": "nixos-hardware",
|
||||||
"rev": "603d3afd1b6145bd66e97ae38a34d91c95df70cf",
|
"rev": "779c32a00155994c86cde8213a8dd4df139d4355",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -121,11 +121,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1782175435,
|
"lastModified": 1783279667,
|
||||||
"narHash": "sha256-8d2wCNWKnd86GzKZvbuqqlS+HqMrheXkvRf0qGJ/oA0=",
|
"narHash": "sha256-2l8yOB5aYd+05Q9V9Y1YhgbSa1j1o5QX+nvYs5FL80A=",
|
||||||
"rev": "89570f24e97e614aa34aa9ab1c927b6578a43775",
|
"rev": "f205b5574fd0cb7da5b702a2da51507b7f4fdd1b",
|
||||||
"type": "tarball",
|
"type": "tarball",
|
||||||
"url": "https://releases.nixos.org/nixpkgs/nixpkgs-26.11pre1020805.89570f24e97e/nixexprs.tar.xz"
|
"url": "https://releases.nixos.org/nixpkgs/nixpkgs-26.11pre1028110.f205b5574fd0/nixexprs.tar.xz"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"type": "tarball",
|
"type": "tarball",
|
||||||
@ -163,11 +163,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs_4": {
|
"nixpkgs_4": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1782475513,
|
"lastModified": 1784515365,
|
||||||
"narHash": "sha256-y7ioo+kcLbjDVdmYss8j2DgBc0U8y8FXCVAryTL3Pb4=",
|
"narHash": "sha256-Qp8SfqvCYHcZewQ4LgD0263yQuaputMceSquLFeza6I=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "f493f07ee021d998aeffedcc59a99e97eb0489d0",
|
"rev": "141f212d3652c61515ba4e9478c8093fca278bac",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -195,11 +195,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1782165805,
|
"lastModified": 1783174389,
|
||||||
"narHash": "sha256-478kKQBvK6SYTOdN2h9jhKJv94nbXRbFMfuL1WshErg=",
|
"narHash": "sha256-aCWC8ngycU7OdJrU2+Je3qf+1a2ykuBvpPhZT/9tXMc=",
|
||||||
"owner": "Mic92",
|
"owner": "Mic92",
|
||||||
"repo": "sops-nix",
|
"repo": "sops-nix",
|
||||||
"rev": "56b24064fdcaedca53553b1a6d607fd23b613a24",
|
"rev": "f1406619a3884cd5c47992a70b8b35c9c0fcb4c9",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|||||||
@ -23,6 +23,7 @@
|
|||||||
qt.style.name = "kvantum";
|
qt.style.name = "kvantum";
|
||||||
|
|
||||||
home.pointerCursor = {
|
home.pointerCursor = {
|
||||||
|
enable = true;
|
||||||
gtk.enable = true;
|
gtk.enable = true;
|
||||||
package = pkgs.bibata-cursors;
|
package = pkgs.bibata-cursors;
|
||||||
name = "Bibata-Modern-Classic";
|
name = "Bibata-Modern-Classic";
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
# By: tomoron <tomoron@student.42angouleme.fr> +#+ +:+ +#+ #
|
# By: tomoron <tomoron@student.42angouleme.fr> +#+ +:+ +#+ #
|
||||||
# +#+#+#+#+#+ +#+ #
|
# +#+#+#+#+#+ +#+ #
|
||||||
# Created: 2026/06/14 19:22:40 by tomoron #+# #+# #
|
# Created: 2026/06/14 19:22:40 by tomoron #+# #+# #
|
||||||
# Updated: 2026/06/14 19:32:07 by tomoron ### ########.fr #
|
# Updated: 2026/07/09 14:59:29 by tomoron ### ########.fr #
|
||||||
# #
|
# #
|
||||||
# **************************************************************************** #
|
# **************************************************************************** #
|
||||||
|
|
||||||
@ -31,26 +31,27 @@
|
|||||||
local cmp = require'cmp'
|
local cmp = require'cmp'
|
||||||
|
|
||||||
cmp.setup({
|
cmp.setup({
|
||||||
snippet = {
|
experimental = { ghost_text = true },
|
||||||
expand = function(args)
|
snippet = {
|
||||||
vim.fn["vsnip#anonymous"](args.body) -- For `vsnip` users.
|
expand = function(args)
|
||||||
end,
|
vim.fn["vsnip#anonymous"](args.body) -- For `vsnip` users.
|
||||||
},
|
end,
|
||||||
|
},
|
||||||
|
|
||||||
window = {
|
window = {
|
||||||
completion = cmp.config.window.bordered(),
|
completion = cmp.config.window.bordered(),
|
||||||
documentation = cmp.config.window.bordered(),
|
documentation = cmp.config.window.bordered(),
|
||||||
},
|
},
|
||||||
|
|
||||||
mapping = cmp.mapping.preset.insert({
|
mapping = cmp.mapping.preset.insert({
|
||||||
['<C-b>'] = cmp.mapping.scroll_docs(-4),
|
['<C-b>'] = cmp.mapping.scroll_docs(-4),
|
||||||
['<C-f>'] = cmp.mapping.scroll_docs(4),
|
['<C-f>'] = cmp.mapping.scroll_docs(4),
|
||||||
['<C-Space>'] = cmp.mapping.complete(),
|
['<C-Space>'] = cmp.mapping.complete(),
|
||||||
['<C-e>'] = cmp.mapping.abort(),
|
['<C-e>'] = cmp.mapping.abort(),
|
||||||
['<CR>'] = cmp.mapping.confirm({ select = true }), -- Accept currently selected item. Set `select` to `false` to only confirm explicitly selected items.
|
['<CR>'] = cmp.mapping.confirm({ select = true }), -- Accept currently selected item. Set `select` to `false` to only confirm explicitly selected items.
|
||||||
}),
|
}),
|
||||||
|
|
||||||
sources = cmp.config.sources({
|
sources = cmp.config.sources({
|
||||||
{ name = 'nvim_lsp' },
|
{ name = 'nvim_lsp' },
|
||||||
{ name = 'vsnip' },
|
{ name = 'vsnip' },
|
||||||
}, {
|
}, {
|
||||||
@ -58,6 +59,7 @@
|
|||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
cmp.setup.cmdline({ '/', '?' }, {
|
cmp.setup.cmdline({ '/', '?' }, {
|
||||||
mapping = cmp.mapping.preset.cmdline(),
|
mapping = cmp.mapping.preset.cmdline(),
|
||||||
sources = {
|
sources = {
|
||||||
@ -125,17 +127,14 @@
|
|||||||
vim.keymap.set("n", "<leader>9m", function()
|
vim.keymap.set("n", "<leader>9m", function()
|
||||||
require("99.extensions.telescope").select_model()
|
require("99.extensions.telescope").select_model()
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
require "lsp_signature".setup(cfg)
|
||||||
'';
|
'';
|
||||||
|
|
||||||
programs.neovim.extraConfig = ''
|
programs.neovim.extraConfig = ''
|
||||||
set number
|
set number
|
||||||
set ai
|
|
||||||
autocmd BufWinLeave *.* mkview
|
autocmd BufWinLeave *.* mkview
|
||||||
autocmd BufWinEnter *.* silent! loadview
|
autocmd BufWinEnter *.* silent! loadview
|
||||||
set tabstop=4
|
|
||||||
set scrolloff=10
|
|
||||||
set smartindent
|
|
||||||
set shiftwidth=4
|
|
||||||
map <silent> <C-N> :bnext<CR>
|
map <silent> <C-N> :bnext<CR>
|
||||||
map <silent> <C-P> :bprevious<CR>
|
map <silent> <C-P> :bprevious<CR>
|
||||||
nmap <silent> <c-k> :wincmd k<CR>
|
nmap <silent> <c-k> :wincmd k<CR>
|
||||||
@ -147,6 +146,14 @@
|
|||||||
set wildmenu
|
set wildmenu
|
||||||
set wildignore+=**/node_modules/**
|
set wildignore+=**/node_modules/**
|
||||||
|
|
||||||
|
set scrolloff=10
|
||||||
|
|
||||||
|
set ai
|
||||||
|
set smartindent
|
||||||
|
set tabstop=4
|
||||||
|
set shiftwidth=4
|
||||||
|
filetype plugin indent on
|
||||||
|
|
||||||
let mapleader=";"
|
let mapleader=";"
|
||||||
|
|
||||||
autocmd VimEnter * if len(filter(values(g:plugs), '!isdirectory(v:val.dir)'))
|
autocmd VimEnter * if len(filter(values(g:plugs), '!isdirectory(v:val.dir)'))
|
||||||
@ -174,6 +181,7 @@
|
|||||||
Plug 'hrsh7th/cmp-path'
|
Plug 'hrsh7th/cmp-path'
|
||||||
Plug 'hrsh7th/cmp-cmdline'
|
Plug 'hrsh7th/cmp-cmdline'
|
||||||
Plug 'hrsh7th/nvim-cmp'
|
Plug 'hrsh7th/nvim-cmp'
|
||||||
|
Plug 'ray-x/lsp_signature.nvim'
|
||||||
|
|
||||||
Plug 'hrsh7th/cmp-vsnip'
|
Plug 'hrsh7th/cmp-vsnip'
|
||||||
Plug 'hrsh7th/vim-vsnip'
|
Plug 'hrsh7th/vim-vsnip'
|
||||||
@ -182,6 +190,7 @@
|
|||||||
colorscheme catppuccin-mocha
|
colorscheme catppuccin-mocha
|
||||||
|
|
||||||
set signcolumn=auto
|
set signcolumn=auto
|
||||||
|
set exrc
|
||||||
|
|
||||||
nnoremap <leader>ff <cmd>Telescope find_files<cr>
|
nnoremap <leader>ff <cmd>Telescope find_files<cr>
|
||||||
nnoremap <leader>fg <cmd>Telescope live_grep<cr>
|
nnoremap <leader>fg <cmd>Telescope live_grep<cr>
|
||||||
@ -195,6 +204,13 @@
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
home.file = {
|
home.file = {
|
||||||
|
#set nix indent
|
||||||
|
".config/nvim/after/ftplugin/nix.lua".text= ''
|
||||||
|
vim.bo.shiftwidth = 2
|
||||||
|
vim.bo.tabstop = 2
|
||||||
|
vim.bo.expandtab = true
|
||||||
|
'';
|
||||||
|
|
||||||
#install plug.vim
|
#install plug.vim
|
||||||
".local/share/nvim/site/autoload/plug.vim".source = "${fetchGit {
|
".local/share/nvim/site/autoload/plug.vim".source = "${fetchGit {
|
||||||
url = "https://github.com/junegunn/vim-plug";
|
url = "https://github.com/junegunn/vim-plug";
|
||||||
@ -208,6 +224,5 @@
|
|||||||
rev = "e6e6b191871545e0d43f1aad817070bc806b8fa7";
|
rev = "e6e6b191871545e0d43f1aad817070bc806b8fa7";
|
||||||
ref = "master";
|
ref = "master";
|
||||||
}}/plugin/stdheader.vim";
|
}}/plugin/stdheader.vim";
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@ -9,7 +9,7 @@
|
|||||||
opencode
|
opencode
|
||||||
(pkgs.python3.withPackages (ps: with ps; [
|
(pkgs.python3.withPackages (ps: with ps; [
|
||||||
python-lsp-server
|
python-lsp-server
|
||||||
pylsp-mypy
|
# pylsp-mypy #tests broken
|
||||||
python-lsp-ruff
|
python-lsp-ruff
|
||||||
pycodestyle
|
pycodestyle
|
||||||
]))
|
]))
|
||||||
|
|||||||
31
homeConfigs/global/wayland/hyprsunset.nix
Normal file
31
homeConfigs/global/wayland/hyprsunset.nix
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
{ ... }:
|
||||||
|
{
|
||||||
|
services.hyprsunset.enable = true;
|
||||||
|
services.hyprsunset.settings = {
|
||||||
|
profile = [
|
||||||
|
{
|
||||||
|
time = "9:00";
|
||||||
|
identity = true;
|
||||||
|
gamma = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
time = "21:30";
|
||||||
|
temperature = 5000;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
time = "22:30";
|
||||||
|
temperature = 4000;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
time = "23:30";
|
||||||
|
temperature = 3000;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
time = "00:30";
|
||||||
|
temperature = 2000;
|
||||||
|
}
|
||||||
|
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
@ -25,4 +25,5 @@
|
|||||||
cursor.no_hardware_cursors = true;
|
cursor.no_hardware_cursors = true;
|
||||||
misc.vrr = 1;
|
misc.vrr = 1;
|
||||||
};
|
};
|
||||||
|
services.hypridle.enable = lib.mkForce false;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
# By: tomoron <tomoron@student.42angouleme.fr> +#+ +:+ +#+ #
|
# By: tomoron <tomoron@student.42angouleme.fr> +#+ +:+ +#+ #
|
||||||
# +#+#+#+#+#+ +#+ #
|
# +#+#+#+#+#+ +#+ #
|
||||||
# Created: 2025/09/05 23:42:18 by tomoron #+# #+# #
|
# Created: 2025/09/05 23:42:18 by tomoron #+# #+# #
|
||||||
# Updated: 2026/06/22 15:42:08 by tomoron ### ########.fr #
|
# Updated: 2026/07/07 17:49:04 by tomoron ### ########.fr #
|
||||||
# #
|
# #
|
||||||
# **************************************************************************** #
|
# **************************************************************************** #
|
||||||
|
|
||||||
@ -18,6 +18,8 @@
|
|||||||
"libvirtd" # can use libvirtd
|
"libvirtd" # can use libvirtd
|
||||||
"dialout" # can use serial devices
|
"dialout" # can use serial devices
|
||||||
"wireshark" # can use wireshask
|
"wireshark" # can use wireshask
|
||||||
|
"plugdev" #some esp things
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
users.groups.plugdev = {};
|
||||||
}
|
}
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
# By: tomoron <tomoron@student.42angouleme.fr> +#+ +:+ +#+ #
|
# By: tomoron <tomoron@student.42angouleme.fr> +#+ +:+ +#+ #
|
||||||
# +#+#+#+#+#+ +#+ #
|
# +#+#+#+#+#+ +#+ #
|
||||||
# Created: 2025/09/06 00:57:04 by tomoron #+# #+# #
|
# Created: 2025/09/06 00:57:04 by tomoron #+# #+# #
|
||||||
# Updated: 2026/06/24 18:42:19 by tomoron ### ########.fr #
|
# Updated: 2026/06/26 14:05:26 by tomoron ### ########.fr #
|
||||||
# #
|
# #
|
||||||
# **************************************************************************** #
|
# **************************************************************************** #
|
||||||
|
|
||||||
@ -30,6 +30,9 @@
|
|||||||
networking.hostId = "98e475dd";
|
networking.hostId = "98e475dd";
|
||||||
|
|
||||||
mods.zfs.enable = true;
|
mods.zfs.enable = true;
|
||||||
|
boot.zfs.forceImportRoot = false;
|
||||||
|
boot.zfs.extraPools = [ "stor" ];
|
||||||
|
|
||||||
|
|
||||||
mods.docker = {
|
mods.docker = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|||||||
@ -6,33 +6,17 @@
|
|||||||
# By: tomoron <tomoron@student.42angouleme.fr> +#+ +:+ +#+ #
|
# By: tomoron <tomoron@student.42angouleme.fr> +#+ +:+ +#+ #
|
||||||
# +#+#+#+#+#+ +#+ #
|
# +#+#+#+#+#+ +#+ #
|
||||||
# Created: 2025/09/06 00:56:57 by tomoron #+# #+# #
|
# Created: 2025/09/06 00:56:57 by tomoron #+# #+# #
|
||||||
# Updated: 2026/06/15 02:11:29 by tomoron ### ########.fr #
|
# Updated: 2026/07/04 01:59:26 by tomoron ### ########.fr #
|
||||||
# #
|
# #
|
||||||
# **************************************************************************** #
|
# **************************************************************************** #
|
||||||
|
|
||||||
{ lib, config, pkgs, ... }:
|
{ lib, config, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
services.udev.packages = [ pkgs.yubikey-personalization ];
|
|
||||||
boot.initrd.kernelModules = [ "vfat" "nls_cp437" "nls_iso8859-1" "usbhid" ];
|
|
||||||
boot.initrd.systemd.enable = true;
|
boot.initrd.systemd.enable = true;
|
||||||
boot.initrd.luks.yubikeySupport = false;
|
|
||||||
boot.initrd.luks.devices.cryptroot = {
|
boot.initrd.luks.devices.cryptroot = {
|
||||||
device = "/dev/disk/by-uuid/a4593b01-069d-4a5d-a550-74a762b89b3f";
|
device = "/dev/disk/by-uuid/a4593b01-069d-4a5d-a550-74a762b89b3f";
|
||||||
allowDiscards = true;
|
allowDiscards = true;
|
||||||
#set up initial : https://wiki.nixos.org/wiki/Yubikey_based_Full_Disk_Encryption_(FDE)_on_NixOS
|
|
||||||
#yubikey = { #bad implementation upstream. unlock with be with fallback password until it's better
|
|
||||||
# twoFactor = false;
|
|
||||||
# keyLength = 64;
|
|
||||||
# saltLength = 32;
|
|
||||||
# storage = {
|
|
||||||
# device = "/dev/disk/by-uuid/BA5C-F216";
|
|
||||||
# path = "/default";
|
|
||||||
# };
|
|
||||||
#};
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
boot.blacklistedKernelModules = [ "nvidia" "nvidia_drm" "nvidia_uvm" ]; #speeds up startup, loaded automatically when gpu is started
|
boot.blacklistedKernelModules = [ "nvidia" "nvidia_drm" "nvidia_uvm" ]; #speeds up startup, loaded automatically when gpu is started
|
||||||
|
|||||||
Reference in New Issue
Block a user