Compare commits
11 Commits
342619eb68
...
testing
| Author | SHA1 | Date | |
|---|---|---|---|
| 6865854418 | |||
| ae086a1d51 | |||
| 8f9c86a24a | |||
| aa35551954 | |||
| c8bcf82ea3 | |||
| 46d6cfeda5 | |||
| ed892e3199 | |||
| 548b3d1579 | |||
| 8f0205da63 | |||
| 9b7c46d4a3 | |||
| 0397b9647b |
6
flake.lock
generated
6
flake.lock
generated
@@ -1080,11 +1080,11 @@
|
||||
"nixpkgs": "nixpkgs_8"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1788435466,
|
||||
"narHash": "sha256-A6izbjMpkQpQxQDFHx5SXw5/1gwTTzO0Vz+1sjPTGdw=",
|
||||
"lastModified": 1791984735,
|
||||
"narHash": "sha256-qTgWYsCg/pi6wI1PM4lolldIUNhokvsalfYbyjfIoKk=",
|
||||
"owner": "AceSLS",
|
||||
"repo": "SLSsteam",
|
||||
"rev": "71021ad32e47ad4382717f63c53d2d06d44be3bd",
|
||||
"rev": "136f614f979d6038f7cee1bc6db5261539a5ac9e",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
{
|
||||
self,
|
||||
self,
|
||||
moduleWithSystem,
|
||||
...
|
||||
}: {
|
||||
flake.nixosModules.name = moduleWithSystem ({
|
||||
pkgs,
|
||||
self',
|
||||
inputs',
|
||||
inputs',
|
||||
...
|
||||
}: let
|
||||
modules = with self.nixosModules; [];
|
||||
|
||||
11
modules/features/libvirt/default.nix
Normal file
11
modules/features/libvirt/default.nix
Normal file
@@ -0,0 +1,11 @@
|
||||
{moduleWithSystem, ...}: {
|
||||
flake.nixosModules.libvirt = moduleWithSystem ({...}: {
|
||||
virtualisation.libvirtd = {
|
||||
enable = true;
|
||||
qemu = {
|
||||
runAsRoot = true;
|
||||
};
|
||||
};
|
||||
programs.virt-manager.enable = true;
|
||||
});
|
||||
}
|
||||
36
modules/features/sable/_sable.nix
Normal file
36
modules/features/sable/_sable.nix
Normal file
@@ -0,0 +1,36 @@
|
||||
{pkgs, ...}:
|
||||
# Sable is a Matrix client (a Cinny fork). It is not in nixpkgs and upstream
|
||||
# ships only prebuilt artifacts, so wrap the published AppImage rather than
|
||||
# building from source. Bump `version` and `hash` together on updates; the
|
||||
# hash can be regenerated with:
|
||||
# nix store prefetch-file --name sable.AppImage <url>
|
||||
let
|
||||
pname = "sable";
|
||||
version = "1.22.6";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "https://github.com/SableClient/Sable/releases/download/v${version}/Sable-${version}-linux-x86_64.AppImage";
|
||||
hash = "sha256-DFZZrdwSF/jrlrRQ9gWguDe7AOQVMablEUcD1l3Giic=";
|
||||
};
|
||||
|
||||
contents = pkgs.appimageTools.extract {inherit pname version src;};
|
||||
in
|
||||
pkgs.appimageTools.wrapType2 {
|
||||
inherit pname version src;
|
||||
|
||||
extraInstallCommands = ''
|
||||
install -Dm444 ${contents}/${pname}.desktop \
|
||||
$out/share/applications/${pname}.desktop
|
||||
cp -r ${contents}/usr/share/icons $out/share/ 2>/dev/null || true
|
||||
substituteInPlace $out/share/applications/${pname}.desktop \
|
||||
--replace-quiet 'Exec=AppRun' 'Exec=${pname}' \
|
||||
--replace-quiet 'Exec=sable' 'Exec=${pname}'
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Matrix client focused on quality-of-life features (Cinny fork)";
|
||||
homepage = "https://sable.moe";
|
||||
platforms = ["x86_64-linux"];
|
||||
mainProgram = pname;
|
||||
};
|
||||
}
|
||||
12
modules/features/sable/default.nix
Normal file
12
modules/features/sable/default.nix
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
self,
|
||||
moduleWithSystem,
|
||||
...
|
||||
}: {
|
||||
flake.nixosModules.sable = moduleWithSystem ({self', ...}: {
|
||||
environment.systemPackages = with self'.packages; [sable];
|
||||
});
|
||||
perSystem = {pkgs, ...}: {
|
||||
packages.sable = pkgs.callPackage ./_sable.nix {};
|
||||
};
|
||||
}
|
||||
@@ -1,5 +1,6 @@
|
||||
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:
|
||||
age:
|
||||
- enc: |
|
||||
@@ -11,7 +12,7 @@ sops:
|
||||
Y3HJ9Jr3DAyokEzN7S/S1v50coM1bE4d74SS/V1uIw0nYdZRUGrZww==
|
||||
-----END AGE ENCRYPTED FILE-----
|
||||
recipient: age1rg4rsns375z2zj4tv8cyqtjl504fw8tprlmj2w057dz6ztttjstsgjvkvy
|
||||
lastmodified: "2026-10-04T19:07:41Z"
|
||||
mac: ENC[AES256_GCM,data:gvN8IJz7fOXlEao7PA+stGZ4Y6Cd4fDCnA6X4gmzBrEVJhGpo120w0N/ZM8V9oRkCwd4DEHxBkB3x7/aJejIxydgEH/ty10xZF4nSf4jNvRz+qC+fyszW6Vw85ux3YZCJzJXaYx2X9WKCCtLI7eas/o9j3hg/2BS+MRoJNgashs=,iv:1ckf72A7xk72y3xn0KoRaJbvvXBifDad3RyJYSAzW8M=,tag:3om3WEaiKR3ZWSRGJwofng==,type:str]
|
||||
lastmodified: "2026-10-04T19:47:26Z"
|
||||
mac: ENC[AES256_GCM,data:0OMarmjmNE5CziZqJbsB96K4u9QgnrB5FkuM3ILgxsxjb6UQLpqjql/th0KIDDAgyVFy9K5KwtocBYeLfuhYkLuj6i8EtlBAyi4KG+WCgy4LF+st8iaTxPy/Xn5yLxbp15DURXPuXrvDs1kpCqFWvfAXAABx/GyHUnYNwpmUytk=,iv:2O3NnZrvwN6CxFcdV/FDBurgRbthshDQ7tpbeHQAlCc=,tag:CzZV/PS26ngz5f4lGs9hzA==,type:str]
|
||||
unencrypted_suffix: _unencrypted
|
||||
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
|
||||
|
||||
27
modules/features/vim/default.nix
Normal file
27
modules/features/vim/default.nix
Normal file
@@ -0,0 +1,27 @@
|
||||
{
|
||||
inputs,
|
||||
moduleWithSystem,
|
||||
...
|
||||
}: {
|
||||
flake.nixosModules.vim = moduleWithSystem ({pkgs, ...}: let
|
||||
modules = [];
|
||||
in {});
|
||||
perSystem = {pkgs, ...}: {
|
||||
packages.vim = inputs.wrappers.wrappers.vim.wrap {
|
||||
inherit pkgs;
|
||||
runtimePkgs = with pkgs; [
|
||||
nixd
|
||||
lua-language-server
|
||||
];
|
||||
plugins = with pkgs.vimPlugins; [
|
||||
vim-lsp
|
||||
asyncomplete-vim
|
||||
asyncomplete-lsp-vim
|
||||
asyncomplete-file-vim
|
||||
vim-vsnip
|
||||
vim-vsnip-integ
|
||||
];
|
||||
vimrc = builtins.readFile ./vimrc;
|
||||
};
|
||||
};
|
||||
}
|
||||
68
modules/features/vim/vimrc
Normal file
68
modules/features/vim/vimrc
Normal file
@@ -0,0 +1,68 @@
|
||||
" 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
|
||||
|
||||
" Searching stuff
|
||||
set ignorecase
|
||||
set smartcase
|
||||
set hlsearch
|
||||
set incsearch
|
||||
|
||||
" asyncomplete navigation
|
||||
inoremap <expr> <Tab> pumvisible() ? "\<C-n>" : "\<Tab>"
|
||||
inoremap <expr> <S-Tab> pumvisible() ? "\<C-p>" : "\<S-Tab>"
|
||||
inoremap <expr> <CR> pumvisible() ? "\<C-y>" : "\<CR>"
|
||||
|
||||
let g:vsnip_integ_debug = 1
|
||||
|
||||
let g:asyncomplete_auto_popup = 1
|
||||
|
||||
" Snippet expansion
|
||||
imap <expr> <C-j> vsnip#expandable() ? '<Plug>(vsnip-expand)' : '<C-j>'
|
||||
smap <expr> <C-j> vsnip#expandable() ? '<Plug>(vsnip-expand)' : '<C-j>'
|
||||
|
||||
" Snippet placeholder navigation
|
||||
imap <expr> <C-l> vsnip#available(1) ? '<Plug>(vsnip-expand-or-jump)' : '<C-l>'
|
||||
smap <expr> <C-l> vsnip#available(1) ? '<Plug>(vsnip-expand-or-jump)' : '<C-l>'
|
||||
|
||||
" 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
|
||||
|
||||
set omnifunc=lsp#complete
|
||||
if executable("nixd")
|
||||
autocmd User lsp_setup call lsp#register_server({
|
||||
\ 'name': 'nixd',
|
||||
\ 'cmd': ['nixd'],
|
||||
\ 'allowlist': ['nix'],
|
||||
\ })
|
||||
endif
|
||||
if executable("lua-language-server")
|
||||
autocmd User lsp_setup call lsp#register_server({
|
||||
\ 'name': 'lua_ls',
|
||||
\ 'cmd': ['lua-language-server'],
|
||||
\ 'allowlist': ['lua'],
|
||||
\ })
|
||||
endif
|
||||
@@ -16,6 +16,8 @@
|
||||
davinci
|
||||
sddm-autologin
|
||||
nix-ld
|
||||
sable
|
||||
libvirt
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
environment.systemPackages = with pkgs; [
|
||||
tor-browser
|
||||
tor
|
||||
commet-chat
|
||||
cinny-desktop
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
thinkpadFanControl
|
||||
upower
|
||||
distcc
|
||||
obs-studio
|
||||
({...}: {
|
||||
tabletSupport = true;
|
||||
})
|
||||
|
||||
@@ -23,6 +23,7 @@
|
||||
"seat"
|
||||
"audio"
|
||||
"video"
|
||||
"libvirtd"
|
||||
"wheel"
|
||||
"plugdev"
|
||||
"networkmanager"
|
||||
|
||||
Reference in New Issue
Block a user