Compare commits

...

16 Commits

14 changed files with 327 additions and 13 deletions

14
flake.lock generated
View File

@@ -1041,11 +1041,11 @@
"quickshell": {
"flake": false,
"locked": {
"lastModified": 1788373363,
"narHash": "sha256-W/owdXl3Xj/wad7ZmW0M6MhWMRVE9LYeVkc86Gu+Dmk=",
"lastModified": 1790440634,
"narHash": "sha256-5kU5Ryam1gIyt7mfDqtHYk+bUYmuDh00HpeUGzZqz0k=",
"ref": "refs/heads/main",
"rev": "b314fe10d21b96168c7bbcdf4b4e31e9a0f7a72b",
"revCount": 92,
"rev": "297f3fe688c8039262796e8b56c975d9398c2a12",
"revCount": 93,
"type": "git",
"url": "https://git.voidarc.co.uk/voidarc/quickshell"
},
@@ -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": {

View File

@@ -3,7 +3,7 @@
moduleWithSystem,
...
}: {
flake.nixosModules.gaming = moduleWithSystem ({pkgs, ...}: let
flake.nixosModules.gaming = moduleWithSystem ({pkgs, unstablePkgs, ...}: let
modules = with self.nixosModules; [
steam
];
@@ -11,6 +11,8 @@
imports = modules;
environment.systemPackages = with pkgs; [
prismlauncher
];
] ++ (with unstablePkgs; [
bs-manager
]);
});
}

View File

@@ -1,12 +1,12 @@
{
self,
self,
moduleWithSystem,
...
}: {
flake.nixosModules.name = moduleWithSystem ({
pkgs,
self',
inputs',
inputs',
...
}: let
modules = with self.nixosModules; [];

View File

@@ -0,0 +1,11 @@
{moduleWithSystem, ...}: {
flake.nixosModules.libvirt = moduleWithSystem ({...}: {
virtualisation.libvirtd = {
enable = true;
qemu = {
runAsRoot = true;
};
};
programs.virt-manager.enable = true;
});
}

View 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;
};
}

View 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 {};
};
}

View File

@@ -1,4 +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: |
@@ -10,7 +12,7 @@ sops:
Y3HJ9Jr3DAyokEzN7S/S1v50coM1bE4d74SS/V1uIw0nYdZRUGrZww==
-----END AGE ENCRYPTED FILE-----
recipient: age1rg4rsns375z2zj4tv8cyqtjl504fw8tprlmj2w057dz6ztttjstsgjvkvy
lastmodified: "2026-09-25T19:37:14Z"
mac: ENC[AES256_GCM,data:OMk7qEbx9F/qa6zERu23fNyTzfxbTJZnPyPdVbXhZvjX+KB8pFE1bks6Qfw/C0TwcYsUBIFgr/YO0IaBLStkdoADpeqN4wRbunwTCND0w6V3ZOGza7+5UiT0Zp2KEamuTTco4mDdBUoBkid+aW0jlqAfKtZ4v9VH34IsEOjT2T8=,iv:uqMTZj/rsMFmOWy4aXblmsZ4TVji2i8SfqpCs21VQOU=,tag:x4LtAV6+i8npKygjWjDRpQ==,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

View 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

View 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;
};
};
}

View 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

View File

@@ -16,6 +16,8 @@
davinci
sddm-autologin
nix-ld
sable
libvirt
];
};
}

View File

@@ -10,6 +10,7 @@
environment.systemPackages = with pkgs; [
tor-browser
tor
cinny-desktop
];
};
}

View File

@@ -12,6 +12,7 @@
thinkpadFanControl
upower
distcc
obs-studio
({...}: {
tabletSupport = true;
})

View File

@@ -23,6 +23,7 @@
"seat"
"audio"
"video"
"libvirtd"
"wheel"
"plugdev"
"networkmanager"