Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 0555242a7f | |||
| fb2b3f80ad |
@ -27,7 +27,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
home.file = {
|
home.file = {
|
||||||
".config/wallpaper.png".source = lib.mkDefault utils/wallpaper.png;
|
".config/wallpaper.png".source = lib.mkDefault ../utils/wallpaper.png;
|
||||||
".config/lock_screen.jpg".source = lib.mkDefault utils/lock_screen.jpg;
|
".config/lock_screen.jpg".source = lib.mkDefault ../utils/lock_screen.jpg;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@ -3,14 +3,14 @@
|
|||||||
programs.yazi = {
|
programs.yazi = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings.mgr.sort_dir_first=false;
|
settings.mgr.sort_dir_first=false;
|
||||||
programs.bash.bashExtra = ''
|
|
||||||
function y() {
|
|
||||||
local tmp="$(mktemp -t "yazi-cwd.XXXXXX")" cwd
|
|
||||||
yazi "$@" --cwd-file="$tmp"
|
|
||||||
IFS= read -r -d "" cwd < "$tmp"
|
|
||||||
[ -n "$cwd" ] && [ "$cwd" != "$PWD" ] && builtin cd -- "$cwd"
|
|
||||||
rm -f -- "$tmp"
|
|
||||||
}
|
|
||||||
'';
|
|
||||||
};
|
};
|
||||||
|
programs.bash.bashrcExtra = ''
|
||||||
|
function y() {
|
||||||
|
local tmp="$(mktemp -t "yazi-cwd.XXXXXX")" cwd
|
||||||
|
yazi "$@" --cwd-file="$tmp"
|
||||||
|
IFS= read -r -d "" cwd < "$tmp"
|
||||||
|
[ -n "$cwd" ] && [ "$cwd" != "$PWD" ] && builtin cd -- "$cwd"
|
||||||
|
rm -f -- "$tmp"
|
||||||
|
}
|
||||||
|
'';
|
||||||
}
|
}
|
||||||
|
|||||||
@ -13,6 +13,8 @@
|
|||||||
mangohud
|
mangohud
|
||||||
moonlight-qt
|
moonlight-qt
|
||||||
prismlauncher
|
prismlauncher
|
||||||
|
|
||||||
|
r2modman
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@ -29,7 +29,8 @@
|
|||||||
autocmd BufWinEnter *.* silent! loadview
|
autocmd BufWinEnter *.* silent! loadview
|
||||||
set tabstop=4
|
set tabstop=4
|
||||||
set scrolloff=10
|
set scrolloff=10
|
||||||
set preserveindent
|
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>
|
||||||
@ -68,7 +69,7 @@
|
|||||||
lua require'lspconfig'.clangd.setup{}
|
lua require'lspconfig'.clangd.setup{}
|
||||||
lua require'lspconfig'.nixd.setup{}
|
lua require'lspconfig'.nixd.setup{}
|
||||||
lua require'lspconfig'.glsl_analyzer.setup{}
|
lua require'lspconfig'.glsl_analyzer.setup{}
|
||||||
set signcolumn=no
|
set signcolumn=auto
|
||||||
|
|
||||||
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>
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
# 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: 2025/09/23 04:08:25 by tomoron ### ########.fr #
|
# Updated: 2025/10/04 22:23:34 by tomoron ### ########.fr #
|
||||||
# #
|
# #
|
||||||
# **************************************************************************** #
|
# **************************************************************************** #
|
||||||
|
|
||||||
@ -32,6 +32,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
boot.blacklistedKernelModules = [ "nvidia" "nvidia_drm" "nvidia_uvm" ]; #speeds up startup
|
boot.blacklistedKernelModules = [ "nvidia" "nvidia_drm" "nvidia_uvm" ]; #speeds up startup
|
||||||
|
programs.droidcam.enable = true;
|
||||||
|
|
||||||
mods.displayManager.enable = true;
|
mods.displayManager.enable = true;
|
||||||
mods.virtualHost.enable = true;
|
mods.virtualHost.enable = true;
|
||||||
@ -79,6 +80,9 @@
|
|||||||
|
|
||||||
mods.touchpad.enable = true;
|
mods.touchpad.enable = true;
|
||||||
|
|
||||||
|
programs.gamescope.enable = true;
|
||||||
|
# programs.gamescope.capSysNice = true;
|
||||||
|
|
||||||
mods.powerSave = {
|
mods.powerSave = {
|
||||||
enable = true;
|
enable = true;
|
||||||
powahCommandAdditions = [
|
powahCommandAdditions = [
|
||||||
@ -119,7 +123,7 @@
|
|||||||
mods.nvidia.prime = true;
|
mods.nvidia.prime = true;
|
||||||
|
|
||||||
|
|
||||||
# services.usbmuxd.enable = true; #hangs when shutting down
|
services.usbmuxd.enable = true; #hangs when shutting down
|
||||||
|
|
||||||
# boot.plymouth = {
|
# boot.plymouth = {
|
||||||
# enable = true;
|
# enable = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user