mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 12:29:19 -08:00
Refactors, konawall-py for darwin, sumireko update to Sonoma
This commit is contained in:
parent
091ddb5b91
commit
bc61d82487
151 changed files with 691 additions and 792 deletions
19
home/profiles/graphical/gpg.nix
Normal file
19
home/profiles/graphical/gpg.nix
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
{lib, ...}: let
|
||||
inherit (lib.modules) mkDefault mkMerge;
|
||||
in {
|
||||
services.gpg-agent = {
|
||||
enable = mkDefault true;
|
||||
enableExtraSocket = true;
|
||||
enableSshSupport = true;
|
||||
sshKeys = [
|
||||
"59921D2F4E6DF7EEC3CB2934BD3D53666007B1AB" # kat@inskip.me
|
||||
];
|
||||
extraConfig = mkMerge [
|
||||
"auto-expand-secmem 0x30000" # otherwise "gpg: public key decryption failed: Cannot allocate memory"
|
||||
"pinentry-timeout 30"
|
||||
"allow-loopback-pinentry"
|
||||
"enable-ssh-support"
|
||||
"no-allow-external-cache"
|
||||
];
|
||||
};
|
||||
}
|
||||
43
home/profiles/graphical/packages.nix
Normal file
43
home/profiles/graphical/packages.nix
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
{pkgs, ...}: {
|
||||
config = {
|
||||
home.packages = with pkgs; [
|
||||
# Password manager
|
||||
bitwarden
|
||||
|
||||
# Task managers
|
||||
btop
|
||||
htop
|
||||
|
||||
# Mail
|
||||
thunderbird
|
||||
|
||||
# Music
|
||||
spotify
|
||||
|
||||
# Chat
|
||||
discord
|
||||
nheko # Matrix
|
||||
tdesktop # Telegram
|
||||
dino # XMPP
|
||||
signal-desktop
|
||||
|
||||
# Exocortex
|
||||
obsidian
|
||||
|
||||
# Archivery
|
||||
unzip
|
||||
zip
|
||||
p7zip
|
||||
|
||||
# Misc
|
||||
gimp-with-plugins # GIMP
|
||||
exiftool # EXIF Stripping
|
||||
lm_sensors # Sensor Data
|
||||
cryptsetup # Encrypted block devices
|
||||
yubikey-manager # Yubikey
|
||||
imv # Image viewer
|
||||
yt-dlp # Downloading media
|
||||
v4l-utils # Webcam
|
||||
];
|
||||
};
|
||||
}
|
||||
50
home/profiles/graphical/vscode.nix
Normal file
50
home/profiles/graphical/vscode.nix
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
{pkgs, ...}: {
|
||||
programs.vscode = {
|
||||
enable = true;
|
||||
extensions = with pkgs.vscode-extensions; [
|
||||
kamadorueda.alejandra
|
||||
mkhl.direnv
|
||||
mhutchie.git-graph
|
||||
golang.go
|
||||
hashicorp.terraform
|
||||
arrterian.nix-env-selector
|
||||
jnoortheen.nix-ide
|
||||
vscodevim.vim
|
||||
catppuccin.catppuccin-vsc
|
||||
github.copilot
|
||||
];
|
||||
userSettings = {
|
||||
"nix.enableLanguageServer" = true;
|
||||
"workbench.colorTheme" = "Default Light Modern";
|
||||
"editor.suggest.preview" = true;
|
||||
"[nix]" = {
|
||||
"editor.defaultFormatter" = "kamadorueda.alejandra";
|
||||
"editor.formatOnPaste" = true;
|
||||
"editor.formatOnSave" = true;
|
||||
"editor.formatOnType" = false;
|
||||
};
|
||||
"files.eol" = "\n";
|
||||
"alejandra.program" = "${pkgs.alejandra}/bin/alejandra";
|
||||
"editor.fontFamily" = ''"Iosevka", "Font Awesome 6 Free", "Font Awesome 6 Brands"'';
|
||||
"editor.fontLigatures" = true;
|
||||
"terraform.experimentalFeatures.prefillRequiredFields" = true;
|
||||
"terraform.experimentalFeatures.validateOnSave" = true;
|
||||
"terraform.codelens.referenceCount" = true;
|
||||
"go.alternateTools" = {
|
||||
gopls = "${pkgs.gopls}/bin/gopls";
|
||||
};
|
||||
"vim.useSystemClipboard" = true;
|
||||
go = {
|
||||
inlayHints = {
|
||||
assignVariableTypes = true;
|
||||
compositeLiteralFields = true;
|
||||
compositeLiteralTypes = true;
|
||||
constantValues = true;
|
||||
functionTypeParameters = true;
|
||||
parameterNames = true;
|
||||
rangeVariableTypes = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
15
home/profiles/graphical/wezterm.nix
Normal file
15
home/profiles/graphical/wezterm.nix
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
_: {
|
||||
programs.wezterm = {
|
||||
enable = true;
|
||||
extraConfig = ''
|
||||
local wezterm = require 'wezterm';
|
||||
return {
|
||||
font = wezterm.font "Iosevka",
|
||||
font_size = 11.0,
|
||||
check_for_updates = false,
|
||||
show_update_window = false,
|
||||
enable_tab_bar = true
|
||||
}
|
||||
'';
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue