more work, start adding basic paths and files where i see fit

This commit is contained in:
cydiralis 2025-06-24 14:39:33 +01:00
parent 149918fdbc
commit b43b8f0464
No known key found for this signature in database
17 changed files with 273 additions and 0 deletions

44
home/nixvim/default.nix Normal file
View file

@ -0,0 +1,44 @@
{vars, lib, ...}:{
programs.nixvim = {
enable = true;
colorschemes.catppuccin.enable = true;
colorschemes.catppuccin.settings.flavour = "mocha";
plugins = {
treesitter.enable = true;
fidget.enable = true;
lualine.enable = true;
lualine.settings.options.theme = "dracula";
cmp = {
enable = true;
settings = {
performance.throttle = 30;
sources = [{name = "nvim_lsp";}{name = "luasnip";}{name = "path";}{name = "buffer";}];
mapping = {
"<Tab>" = "cmp.mapping.select_next_item()";
"<S-Tab>" = "cmp.mapping.select_prev_item()";
"<C-space>" = "cmp.mapping.confirm({ select = false })";
};
};
};
lsp = {
enable = true;
servers.cssls.enable = true;
servers.clangd.enable = true;
servers.pylsp.enable = true;
servers.html = {
enable = true;
};
servers.nixd = {
enable = true;
extraOptions.offset_encoding = "utf-8";
settings.nixpkgs.expr = "import (builtins.getFlake \"/home/${vars.user}/.config/nixos\").inputs.nixpkgs {}";
settings.options = {
nixos.expr = "(builtins.getFlake \"/home/${vars.user}/.config/nixos\").nixosConfigurations.callisto.options";
home-manager.expr = "(builtins.getFlake \"/home/${vars.user}/.config/nixos\").nixosConfigurations.callisto.options.home-manager.users.type.getSubOptions []";
#niri.expr = "(builtins.getFlake \"/home/${vars.user}/.config/nixos\").nixosConfigurations.callisto.config.home-manager.users.${vars.user}.programs.niri.settings";
};
};
};
};
};
}

50
home/packages.nix Normal file
View file

@ -0,0 +1,50 @@
{pkgs, vars, ...}:{
home.packages = with pkgs; [
blender-hip
brightnessctl
bs-manager
clonehero
comma
emacs
fastfetch
firefox
fzf
gamescope
grayjay
gimp
gzdoom
hyfetch
iamb
inkscape
kanshi
kdePackages.ark
libgpod
libimobiledevice
libreoffice
mpc
nemo
nextcloud-client
openrct2
openscad
openutau
pamixer
pavucontrol
prismlauncher
prusa-slicer
ripcord
swaybg
swaynotificationcenter
tetrio-desktop
transmission_4-qt
udiskie
v4l-utils
vesktop
vlc
wl-clipboard
wlr-randr
wttrbar
wlx-overlay-s
xfce.ristretto
xfce.tumbler
];
}

39
home/syncthing.nix Normal file
View file

@ -0,0 +1,39 @@
{
services.syncthing = {
overrideDevices = true;
overrideFolders = true;
settings = {
devices = {
"hypermac" = { id = "XVY5YLM-QETCA4H-KT4XBEH-IR4U47O-CJCJ5YM-DPVWQQX-VHEK4MS-GJCMIQ2"; };
"adventurer" = { id = "LLKP3BJ-5RBN5KR-63NXUCW-JC4FMAX-QOXTJBK-65OHI7V-OKZQPTD-5FJIIAB"; };
"callisto" = { id = "NPXGWEK-JP4C2NM-QZZPBYI-ISAXIZK-ORCNVGO-C4GFRHJ-SWWFQGC-F5JAMQC"; };
"traveler" = { id = "JVNNE3V-IMVW2YL-JKEWUJZ-N5PU4NE-3YQDEU7-77ZHIP3-ADW3LAA-NODOVA3"; };
};
folders = {
"General" = {
path = "/home/maya/sync/general";
devices = [ "callisto" "hypermac" "adventurer" "traveler" ];
};
"Music" = {
path = "/home/maya/Music";
devices = [ "callisto" "hypermac" "adventurer" "traveler" ];
};
"College" = {
path = "/home/maya/sync/college";
devices = [ "callisto" "hypermac" "adventurer" "traveler" ];
versioning = {
type = "staggered";
params = {
cleanInterval = "3600";
maxAge = "15768000";
};
};
};
"PrusaSlicer" = {
path = "/home/maya/.config/PrusaSlicer";
devices = [ "callisto" "hypermac" "adventurer" "traveler" ];
};
};
};
};
}

35
home/theming.nix Normal file
View file

@ -0,0 +1,35 @@
{pkgs, ...}:{
home.pointerCursor = {
gtk.enable = true;
x11.enable = true;
package = pkgs.catppuccin-cursors.mochaMauve;
name = "catppuccin-mocha-mauve-cursors";
size = 24;
};
catppuccin = {
enable = true;
gtk.enable = false;
kvantum.enable = true;
waybar.enable = false;
};
gtk = {
#catppuccin.enable = false;
enable = true;
theme = {
name = "catppuccin-mocha-mauve-standard";
package = pkgs.catppuccin-gtk.override {
accents = ["mauve"];
size = "standard";
variant = "mocha";
};
};
iconTheme.package = pkgs.adwaita-icon-theme;
iconTheme.name = "Adwaita";
};
qt = {
enable = true;
style.name = "kvantum";
#style.catppuccin.enable = true;
platformTheme.name = "kvantum";
};
}

1
home/todo Normal file
View file

@ -0,0 +1 @@
niri, default.nix, waybar