Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 58d6fba6cb | |||
| 450f48bc0a |
@@ -3,7 +3,7 @@
|
|||||||
moduleWithSystem,
|
moduleWithSystem,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
flake.nixosModules.gaming = moduleWithSystem ({pkgs, unstablePkgs, ...}: let
|
flake.nixosModules.gaming = moduleWithSystem ({pkgs, ...}: let
|
||||||
modules = with self.nixosModules; [
|
modules = with self.nixosModules; [
|
||||||
steam
|
steam
|
||||||
];
|
];
|
||||||
@@ -11,8 +11,6 @@
|
|||||||
imports = modules;
|
imports = modules;
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
prismlauncher
|
prismlauncher
|
||||||
] ++ (with unstablePkgs; [
|
];
|
||||||
bs-manager
|
|
||||||
]);
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
gotify-desktop-key: ENC[AES256_GCM,data:kMCJfkrf5jKAgjX9hT9S,iv:T/zDp94522MeW6V3874JgyaQCx5H1qY+DsZOoPBaC1w=,tag:Csu+9imWiMBYXaE0uXzMsg==,type:str]
|
gotify-desktop-key: ENC[AES256_GCM,data:kMCJfkrf5jKAgjX9hT9S,iv:T/zDp94522MeW6V3874JgyaQCx5H1qY+DsZOoPBaC1w=,tag:Csu+9imWiMBYXaE0uXzMsg==,type:str]
|
||||||
matrix-recovery-key: ENC[AES256_GCM,data:JssA1EJwxV3ZFXazKOhy0hF08x8qvQ1rzcy0vd3ko3mLvpTDMK5iHGfFf9xO4oK7cZFHGoSsXqaGzTs=,iv:TpBJzYulg8L8Yl7NpZl3u81U7hmxll4CYQ8XdbBOrSY=,tag:eP0Ubmx26e3wjzVbYO4Vmw==,type:str]
|
|
||||||
matrix-cinny-key: ENC[AES256_GCM,data:1vfnRIFTIpLcySHi8Q5PGx3whxNATQxoWMqkDAfbMvIUWDVQcQBW6sHnllyB4364V1LMmq2JANqqyJM=,iv:DpEo993W8UgnJ/aeEyOpcgoNBiSdmBEoWPECB7BJr/Y=,tag:tZfAsGsppkC31vFbjWlvog==,type:str]
|
|
||||||
sops:
|
sops:
|
||||||
age:
|
age:
|
||||||
- enc: |
|
- enc: |
|
||||||
@@ -12,7 +10,7 @@ sops:
|
|||||||
Y3HJ9Jr3DAyokEzN7S/S1v50coM1bE4d74SS/V1uIw0nYdZRUGrZww==
|
Y3HJ9Jr3DAyokEzN7S/S1v50coM1bE4d74SS/V1uIw0nYdZRUGrZww==
|
||||||
-----END AGE ENCRYPTED FILE-----
|
-----END AGE ENCRYPTED FILE-----
|
||||||
recipient: age1rg4rsns375z2zj4tv8cyqtjl504fw8tprlmj2w057dz6ztttjstsgjvkvy
|
recipient: age1rg4rsns375z2zj4tv8cyqtjl504fw8tprlmj2w057dz6ztttjstsgjvkvy
|
||||||
lastmodified: "2026-10-04T19:47:26Z"
|
lastmodified: "2026-09-25T19:37:14Z"
|
||||||
mac: ENC[AES256_GCM,data:0OMarmjmNE5CziZqJbsB96K4u9QgnrB5FkuM3ILgxsxjb6UQLpqjql/th0KIDDAgyVFy9K5KwtocBYeLfuhYkLuj6i8EtlBAyi4KG+WCgy4LF+st8iaTxPy/Xn5yLxbp15DURXPuXrvDs1kpCqFWvfAXAABx/GyHUnYNwpmUytk=,iv:2O3NnZrvwN6CxFcdV/FDBurgRbthshDQ7tpbeHQAlCc=,tag:CzZV/PS26ngz5f4lGs9hzA==,type:str]
|
mac: ENC[AES256_GCM,data:OMk7qEbx9F/qa6zERu23fNyTzfxbTJZnPyPdVbXhZvjX+KB8pFE1bks6Qfw/C0TwcYsUBIFgr/YO0IaBLStkdoADpeqN4wRbunwTCND0w6V3ZOGza7+5UiT0Zp2KEamuTTco4mDdBUoBkid+aW0jlqAfKtZ4v9VH34IsEOjT2T8=,iv:uqMTZj/rsMFmOWy4aXblmsZ4TVji2i8SfqpCs21VQOU=,tag:x4LtAV6+i8npKygjWjDRpQ==,type:str]
|
||||||
unencrypted_suffix: _unencrypted
|
unencrypted_suffix: _unencrypted
|
||||||
version: 3.13.3
|
version: 3.13.3
|
||||||
|
|||||||
151
modules/features/vim/cyberdream.vim
Normal file
151
modules/features/vim/cyberdream.vim
Normal file
@@ -0,0 +1,151 @@
|
|||||||
|
" cyberdream.vim - Cyberdream theme for Vim
|
||||||
|
" Maintainer: 0l3d
|
||||||
|
" Description: Cyberdream theme for Vim
|
||||||
|
|
||||||
|
highlight clear
|
||||||
|
if exists("syntax_on")
|
||||||
|
syntax reset
|
||||||
|
endif
|
||||||
|
|
||||||
|
let g:colors_name = "cyberdream"
|
||||||
|
set termguicolors
|
||||||
|
|
||||||
|
" ─────────────────────────────────────────────────────────────
|
||||||
|
" Core UI
|
||||||
|
" ─────────────────────────────────────────────────────────────
|
||||||
|
highlight Normal guifg=#ffffff guibg=#16181a
|
||||||
|
highlight NormalNC guifg=#ffffff guibg=#16181a
|
||||||
|
highlight Cursor guifg=#16181a guibg=#ffffff
|
||||||
|
highlight CursorLine guibg=#3c4048
|
||||||
|
highlight CursorColumn guibg=#3c4048
|
||||||
|
highlight CursorLineNr guifg=#7b8496
|
||||||
|
highlight LineNr guifg=#7b8496
|
||||||
|
highlight ColorColumn guibg=#3c4048
|
||||||
|
highlight Visual guibg=#3c4048
|
||||||
|
highlight VisualNOS guibg=#3c4048
|
||||||
|
highlight MatchParen guifg=#ff5ea0 guibg=#3c4048
|
||||||
|
highlight Search guifg=#1e2124 guibg=#ffffff
|
||||||
|
highlight IncSearch guifg=#1e2124 guibg=#5ef1ff
|
||||||
|
highlight CurSearch guifg=#1e2124 guibg=#5ef1ff
|
||||||
|
highlight Directory guifg=#5ea1ff
|
||||||
|
highlight VertSplit guifg=#3c4048 guibg=#16181a
|
||||||
|
highlight WinSeparator guifg=#3c4048 guibg=#16181a
|
||||||
|
highlight EndOfBuffer guifg=#7b8496
|
||||||
|
|
||||||
|
" ─────────────────────────────────────────────────────────────
|
||||||
|
" Popup / Float
|
||||||
|
" ─────────────────────────────────────────────────────────────
|
||||||
|
highlight NormalFloat guifg=#ffffff guibg=#16181a
|
||||||
|
highlight FloatBorder guifg=#3c4048 guibg=#16181a
|
||||||
|
highlight FloatTitle guifg=#5ef1ff guibg=#16181a
|
||||||
|
|
||||||
|
highlight Pmenu guifg=#ffffff guibg=#16181a
|
||||||
|
highlight PmenuSel guifg=#ffffff guibg=#3c4048
|
||||||
|
highlight PmenuSbar guifg=#16181a guibg=#3c4048
|
||||||
|
highlight PmenuThumb guifg=#16181a guibg=#3c4048
|
||||||
|
highlight PmenuMatch guifg=#5ef1ff guibg=#3c4048
|
||||||
|
highlight PmenuMatchSel guifg=#5ef1ff guibg=#3c4048
|
||||||
|
|
||||||
|
" ─────────────────────────────────────────────────────────────
|
||||||
|
" Diff
|
||||||
|
" ─────────────────────────────────────────────────────────────
|
||||||
|
highlight DiffAdd guifg=#5eff6c guibg=#3c4048
|
||||||
|
highlight DiffChange guifg=#5ea1ff guibg=#3c4048
|
||||||
|
highlight DiffDelete guifg=#ff6e5e guibg=#3c4048
|
||||||
|
highlight DiffText guifg=#ffbd5e guibg=#3c4048
|
||||||
|
|
||||||
|
highlight Added guifg=#5eff6c
|
||||||
|
highlight Removed guifg=#ff6e5e
|
||||||
|
|
||||||
|
" ─────────────────────────────────────────────────────────────
|
||||||
|
" Diagnostics / LSP
|
||||||
|
" ─────────────────────────────────────────────────────────────
|
||||||
|
highlight DiagnosticError guifg=#ff6e5e
|
||||||
|
highlight DiagnosticWarn guifg=#ffe95e
|
||||||
|
highlight DiagnosticInfo guifg=#5ea1ff
|
||||||
|
highlight DiagnosticHint guifg=#5ef1ff
|
||||||
|
highlight DiagnosticUnnecessary guifg=#7b8496
|
||||||
|
|
||||||
|
highlight DiagnosticVirtualTextError guifg=#ff6e5e
|
||||||
|
highlight DiagnosticVirtualTextWarn guifg=#ffe95e
|
||||||
|
highlight DiagnosticVirtualTextInfo guifg=#5ea1ff
|
||||||
|
highlight DiagnosticVirtualTextHint guifg=#5ef1ff
|
||||||
|
|
||||||
|
highlight DiagnosticUnderlineError gui=undercurl guisp=#ff6e5e
|
||||||
|
highlight DiagnosticUnderlineWarn gui=undercurl guisp=#ffe95e
|
||||||
|
highlight DiagnosticUnderlineInfo gui=undercurl guisp=#5ea1ff
|
||||||
|
highlight DiagnosticUnderlineHint gui=undercurl guisp=#5ef1ff
|
||||||
|
|
||||||
|
highlight LspReferenceText guibg=#3c4048
|
||||||
|
highlight LspReferenceRead guibg=#3c4048
|
||||||
|
highlight LspReferenceWrite guibg=#3c4048
|
||||||
|
highlight LspSignatureActiveParameter guifg=#ffbd5e
|
||||||
|
highlight LspCodeLens guifg=#7b8496
|
||||||
|
highlight LspInlayHint guifg=#7b8496
|
||||||
|
|
||||||
|
" ─────────────────────────────────────────────────────────────
|
||||||
|
" Syntax
|
||||||
|
" ─────────────────────────────────────────────────────────────
|
||||||
|
highlight Comment guifg=#7b8496 gui=italic
|
||||||
|
highlight Constant guifg=#ffbd5e
|
||||||
|
highlight String guifg=#5eff6c
|
||||||
|
highlight Character guifg=#5eff6c
|
||||||
|
highlight Boolean guifg=#ffbd5e
|
||||||
|
highlight Number guifg=#ffbd5e
|
||||||
|
|
||||||
|
highlight Identifier guifg=#5ea1ff
|
||||||
|
highlight Function guifg=#5ea1ff
|
||||||
|
|
||||||
|
highlight Statement guifg=#bd5eff
|
||||||
|
highlight Operator guifg=#bd5eff
|
||||||
|
highlight Keyword guifg=#ffbd5e
|
||||||
|
highlight PreProc guifg=#bd5eff
|
||||||
|
highlight Label guifg=#5ef1ff
|
||||||
|
|
||||||
|
highlight Type guifg=#ffe95e
|
||||||
|
highlight Special guifg=#ff5ea0
|
||||||
|
highlight Delimiter guifg=#ffffff
|
||||||
|
|
||||||
|
highlight Debug guifg=#ffbd5e
|
||||||
|
|
||||||
|
highlight Error guifg=#ff6e5e
|
||||||
|
highlight Todo guifg=#bd5eff gui=bold
|
||||||
|
|
||||||
|
" ─────────────────────────────────────────────────────────────
|
||||||
|
" Markdown
|
||||||
|
" ─────────────────────────────────────────────────────────────
|
||||||
|
highlight markdownHeadingDelimiter guifg=#7b8496
|
||||||
|
highlight markdownCode guifg=#5ef1ff
|
||||||
|
highlight markdownCodeBlock guifg=#5ef1ff
|
||||||
|
highlight markdownH1 guifg=#ffbd5e gui=bold
|
||||||
|
highlight markdownH2 guifg=#5ef1ff gui=bold
|
||||||
|
highlight markdownH3 guifg=#5ea1ff gui=bold
|
||||||
|
highlight markdownH4 guifg=#bd5eff gui=bold
|
||||||
|
highlight markdownH5 guifg=#ff5ef1 gui=bold
|
||||||
|
highlight markdownH6 guifg=#5eff6c gui=bold
|
||||||
|
highlight markdownLinkText guifg=#5ea1ff gui=underline
|
||||||
|
|
||||||
|
" ─────────────────────────────────────────────────────────────
|
||||||
|
" UI Bars
|
||||||
|
" ─────────────────────────────────────────────────────────────
|
||||||
|
highlight StatusLine guifg=#ffffff guibg=#16181a
|
||||||
|
highlight StatusLineNC guifg=#7b8496 guibg=#16181a
|
||||||
|
highlight TabLine guifg=#7b8496 guibg=#16181a
|
||||||
|
highlight TabLineFill guifg=#7b8496 guibg=#16181a
|
||||||
|
highlight TabLineSel guifg=#ffffff guibg=#3c4048
|
||||||
|
highlight WinBar guifg=#ffffff guibg=#16181a
|
||||||
|
highlight WinBarNC guifg=#7b8496 guibg=#16181a
|
||||||
|
|
||||||
|
" ─────────────────────────────────────────────────────────────
|
||||||
|
" Misc
|
||||||
|
" ─────────────────────────────────────────────────────────────
|
||||||
|
highlight SpecialKey guifg=#7b8496
|
||||||
|
highlight Whitespace guifg=#3c4048
|
||||||
|
highlight Question guifg=#ffe95e
|
||||||
|
highlight MoreMsg guifg=#5ea1ff
|
||||||
|
highlight WarningMsg guifg=#ffbd5e
|
||||||
|
highlight ErrorMsg guifg=#ff6e5e
|
||||||
|
highlight QuickFixLine guibg=#3c4048
|
||||||
|
highlight qfLineNr guifg=#7b8496
|
||||||
|
highlight qfFileName guifg=#5ea1ff
|
||||||
|
|
||||||
22
modules/features/vim/default.nix
Normal file
22
modules/features/vim/default.nix
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
{
|
||||||
|
inputs,
|
||||||
|
moduleWithSystem,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
flake.nixosModules.vim = moduleWithSystem ({pkgs, ...}: let
|
||||||
|
modules = [];
|
||||||
|
in {});
|
||||||
|
perSystem = {pkgs, ...}: {
|
||||||
|
packages.vim = inputs.wrappers.wrappers.vim.wrap {
|
||||||
|
inherit pkgs;
|
||||||
|
plugins = with pkgs.vimPlugins; [
|
||||||
|
# vim-lsp
|
||||||
|
# vim-lsp-settings
|
||||||
|
# asyncomplete-vim
|
||||||
|
# asyncomplete-lsp-vim
|
||||||
|
ale
|
||||||
|
];
|
||||||
|
vimrc = builtins.readFile ./vimrc;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
62
modules/features/vim/vimrc
Normal file
62
modules/features/vim/vimrc
Normal file
@@ -0,0 +1,62 @@
|
|||||||
|
" Set colorscheme and enable highlighting
|
||||||
|
colorscheme catppuccin
|
||||||
|
set termguicolors
|
||||||
|
syntax on
|
||||||
|
|
||||||
|
" Set tab stuff
|
||||||
|
set tabstop=2
|
||||||
|
set shiftwidth=2
|
||||||
|
set expandtab
|
||||||
|
set softtabstop=2
|
||||||
|
|
||||||
|
" Enable line numbers
|
||||||
|
set number
|
||||||
|
set relativenumber
|
||||||
|
set cursorline
|
||||||
|
" Make cursorlinenum a different color
|
||||||
|
augroup colorAutoCmds
|
||||||
|
autocmd!
|
||||||
|
autocmd ColorScheme * highlight CursorLineNr cterm=bold guifg=#cba6f7
|
||||||
|
augroup END
|
||||||
|
|
||||||
|
set ignorecase
|
||||||
|
set smartcase
|
||||||
|
set hlsearch
|
||||||
|
set incsearch
|
||||||
|
|
||||||
|
" Set different cursor shapes depending on mode
|
||||||
|
let &t_SI = "\e[6 q"
|
||||||
|
let &t_EI = "\e[2 q"
|
||||||
|
augroup cursorCmds
|
||||||
|
au!
|
||||||
|
autocmd VimEnter * silent !echo -ne "\e[2 q"
|
||||||
|
augroup END
|
||||||
|
|
||||||
|
" Completion menu
|
||||||
|
"inoremap <expr> <Tab> pumvisible() ? "\<C-n>" : "\<Tab>"
|
||||||
|
"inoremap <expr> <S-Tab> pumvisible() ? "\<C-p>" : "\<S-Tab>"
|
||||||
|
"inoremap <expr> <cr> pumvisible() ? asyncomplete#close_popup() : "\<cr>"
|
||||||
|
|
||||||
|
set omnifunc=ale#completion#OmniFunc
|
||||||
|
nnoremap K <cmd>ALEHover<CR>
|
||||||
|
nnoremap <leader>gd <cmd>ALEGoToDefinition<CR>
|
||||||
|
nnoremap <leader>gr <cmd>ALEFindReferences<CR>
|
||||||
|
nnoremap <leader>ca <cmd>ALECodeAc
|
||||||
|
let g:ale_completion_enabled = 1
|
||||||
|
|
||||||
|
autocmd User lsp_setup call lsp#register_server({
|
||||||
|
\ 'name': 'nixd',
|
||||||
|
\ 'cmd': ['nixd'],
|
||||||
|
\ 'allowlist': ['nix'],
|
||||||
|
\ })
|
||||||
|
|
||||||
|
let g:ale_linters = {
|
||||||
|
\ 'nix': ['nixd'],
|
||||||
|
\}
|
||||||
|
|
||||||
|
let g:ale_fixers = {
|
||||||
|
\ 'nix': ['alejandra'],
|
||||||
|
\}
|
||||||
|
|
||||||
|
let g:ale_fix_on_save = 1
|
||||||
|
|
||||||
@@ -10,7 +10,6 @@
|
|||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
tor-browser
|
tor-browser
|
||||||
tor
|
tor
|
||||||
cinny-desktop
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user