Compare commits

..

2 Commits

Author SHA1 Message Date
58d6fba6cb added cyberdream theme 2026-10-07 20:17:17 +01:00
450f48bc0a adding vim or something 2026-09-29 13:57:38 +01:00
13 changed files with 47 additions and 126 deletions

6
flake.lock generated
View File

@@ -1080,11 +1080,11 @@
"nixpkgs": "nixpkgs_8" "nixpkgs": "nixpkgs_8"
}, },
"locked": { "locked": {
"lastModified": 1791984735, "lastModified": 1788435466,
"narHash": "sha256-qTgWYsCg/pi6wI1PM4lolldIUNhokvsalfYbyjfIoKk=", "narHash": "sha256-A6izbjMpkQpQxQDFHx5SXw5/1gwTTzO0Vz+1sjPTGdw=",
"owner": "AceSLS", "owner": "AceSLS",
"repo": "SLSsteam", "repo": "SLSsteam",
"rev": "136f614f979d6038f7cee1bc6db5261539a5ac9e", "rev": "71021ad32e47ad4382717f63c53d2d06d44be3bd",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@@ -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
]);
}); });
} }

View File

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

View File

@@ -1,36 +0,0 @@
{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

@@ -1,12 +0,0 @@
{
self,
moduleWithSystem,
...
}: {
flake.nixosModules.sable = moduleWithSystem ({self', ...}: {
environment.systemPackages = with self'.packages; [sable];
});
perSystem = {pkgs, ...}: {
packages.sable = pkgs.callPackage ./_sable.nix {};
};
}

View File

@@ -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

View File

@@ -9,17 +9,12 @@
perSystem = {pkgs, ...}: { perSystem = {pkgs, ...}: {
packages.vim = inputs.wrappers.wrappers.vim.wrap { packages.vim = inputs.wrappers.wrappers.vim.wrap {
inherit pkgs; inherit pkgs;
runtimePkgs = with pkgs; [
nixd
lua-language-server
];
plugins = with pkgs.vimPlugins; [ plugins = with pkgs.vimPlugins; [
vim-lsp # vim-lsp
asyncomplete-vim # vim-lsp-settings
asyncomplete-lsp-vim # asyncomplete-vim
asyncomplete-file-vim # asyncomplete-lsp-vim
vim-vsnip ale
vim-vsnip-integ
]; ];
vimrc = builtins.readFile ./vimrc; vimrc = builtins.readFile ./vimrc;
}; };

View File

@@ -13,56 +13,50 @@ set softtabstop=2
set number set number
set relativenumber set relativenumber
set cursorline set cursorline
" Make cursorlinenum a different color
" Make cursorlinenum a different color
augroup colorAutoCmds augroup colorAutoCmds
autocmd! autocmd!
autocmd ColorScheme * highlight CursorLineNr cterm=bold guifg=#cba6f7 autocmd ColorScheme * highlight CursorLineNr cterm=bold guifg=#cba6f7
augroup END augroup END
" Searching stuff
set ignorecase set ignorecase
set smartcase set smartcase
set hlsearch set hlsearch
set incsearch 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 " Set different cursor shapes depending on mode
let &t_SI = "\e[6 q" let &t_SI = "\e[6 q"
let &t_EI = "\e[2 q" let &t_EI = "\e[2 q"
augroup cursorCmds augroup cursorCmds
au! au!
autocmd VimEnter * silent !echo -ne "\e[2 q" autocmd VimEnter * silent !echo -ne "\e[2 q"
augroup END augroup END
set omnifunc=lsp#complete " Completion menu
if executable("nixd") "inoremap <expr> <Tab> pumvisible() ? "\<C-n>" : "\<Tab>"
autocmd User lsp_setup call lsp#register_server({ "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', \ 'name': 'nixd',
\ 'cmd': ['nixd'], \ 'cmd': ['nixd'],
\ 'allowlist': ['nix'], \ 'allowlist': ['nix'],
\ }) \ })
endif
if executable("lua-language-server") let g:ale_linters = {
autocmd User lsp_setup call lsp#register_server({ \ 'nix': ['nixd'],
\ 'name': 'lua_ls', \}
\ 'cmd': ['lua-language-server'],
\ 'allowlist': ['lua'], let g:ale_fixers = {
\ }) \ 'nix': ['alejandra'],
endif \}
let g:ale_fix_on_save = 1

View File

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

View File

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

View File

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

View File

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