Compare commits
2 Commits
testing
...
58d6fba6cb
| Author | SHA1 | Date | |
|---|---|---|---|
| 58d6fba6cb | |||
| 450f48bc0a |
6
flake.lock
generated
6
flake.lock
generated
@@ -1080,11 +1080,11 @@
|
||||
"nixpkgs": "nixpkgs_8"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1791984735,
|
||||
"narHash": "sha256-qTgWYsCg/pi6wI1PM4lolldIUNhokvsalfYbyjfIoKk=",
|
||||
"lastModified": 1788435466,
|
||||
"narHash": "sha256-A6izbjMpkQpQxQDFHx5SXw5/1gwTTzO0Vz+1sjPTGdw=",
|
||||
"owner": "AceSLS",
|
||||
"repo": "SLSsteam",
|
||||
"rev": "136f614f979d6038f7cee1bc6db5261539a5ac9e",
|
||||
"rev": "71021ad32e47ad4382717f63c53d2d06d44be3bd",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
moduleWithSystem,
|
||||
...
|
||||
}: {
|
||||
flake.nixosModules.gaming = moduleWithSystem ({pkgs, unstablePkgs, ...}: let
|
||||
flake.nixosModules.gaming = moduleWithSystem ({pkgs, ...}: let
|
||||
modules = with self.nixosModules; [
|
||||
steam
|
||||
];
|
||||
@@ -11,8 +11,6 @@
|
||||
imports = modules;
|
||||
environment.systemPackages = with pkgs; [
|
||||
prismlauncher
|
||||
] ++ (with unstablePkgs; [
|
||||
bs-manager
|
||||
]);
|
||||
];
|
||||
});
|
||||
}
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
{moduleWithSystem, ...}: {
|
||||
flake.nixosModules.libvirt = moduleWithSystem ({...}: {
|
||||
virtualisation.libvirtd = {
|
||||
enable = true;
|
||||
qemu = {
|
||||
runAsRoot = true;
|
||||
};
|
||||
};
|
||||
programs.virt-manager.enable = true;
|
||||
});
|
||||
}
|
||||
@@ -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;
|
||||
};
|
||||
}
|
||||
@@ -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 {};
|
||||
};
|
||||
}
|
||||
@@ -1,6 +1,4 @@
|
||||
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: |
|
||||
@@ -12,7 +10,7 @@ sops:
|
||||
Y3HJ9Jr3DAyokEzN7S/S1v50coM1bE4d74SS/V1uIw0nYdZRUGrZww==
|
||||
-----END AGE ENCRYPTED FILE-----
|
||||
recipient: age1rg4rsns375z2zj4tv8cyqtjl504fw8tprlmj2w057dz6ztttjstsgjvkvy
|
||||
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]
|
||||
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]
|
||||
unencrypted_suffix: _unencrypted
|
||||
version: 3.13.3
|
||||
|
||||
@@ -9,17 +9,12 @@
|
||||
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
|
||||
# vim-lsp
|
||||
# vim-lsp-settings
|
||||
# asyncomplete-vim
|
||||
# asyncomplete-lsp-vim
|
||||
ale
|
||||
];
|
||||
vimrc = builtins.readFile ./vimrc;
|
||||
};
|
||||
|
||||
@@ -13,56 +13,50 @@ set softtabstop=2
|
||||
set number
|
||||
set relativenumber
|
||||
set cursorline
|
||||
|
||||
" Make cursorlinenum a different color
|
||||
" 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"
|
||||
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({
|
||||
" 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'],
|
||||
\ })
|
||||
endif
|
||||
if executable("lua-language-server")
|
||||
autocmd User lsp_setup call lsp#register_server({
|
||||
\ 'name': 'lua_ls',
|
||||
\ 'cmd': ['lua-language-server'],
|
||||
\ 'allowlist': ['lua'],
|
||||
\ })
|
||||
endif
|
||||
|
||||
let g:ale_linters = {
|
||||
\ 'nix': ['nixd'],
|
||||
\}
|
||||
|
||||
let g:ale_fixers = {
|
||||
\ 'nix': ['alejandra'],
|
||||
\}
|
||||
|
||||
let g:ale_fix_on_save = 1
|
||||
|
||||
|
||||
@@ -16,8 +16,6 @@
|
||||
davinci
|
||||
sddm-autologin
|
||||
nix-ld
|
||||
sable
|
||||
libvirt
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
environment.systemPackages = with pkgs; [
|
||||
tor-browser
|
||||
tor
|
||||
cinny-desktop
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -12,7 +12,6 @@
|
||||
thinkpadFanControl
|
||||
upower
|
||||
distcc
|
||||
obs-studio
|
||||
({...}: {
|
||||
tabletSupport = true;
|
||||
})
|
||||
|
||||
@@ -23,7 +23,6 @@
|
||||
"seat"
|
||||
"audio"
|
||||
"video"
|
||||
"libvirtd"
|
||||
"wheel"
|
||||
"plugdev"
|
||||
"networkmanager"
|
||||
|
||||
Reference in New Issue
Block a user