beginning of dendritic rebuild
This commit is contained in:
parent
080e929cbc
commit
d924909d3b
56 changed files with 121 additions and 149 deletions
91
old/home/default.nix
Executable file
91
old/home/default.nix
Executable file
|
|
@ -0,0 +1,91 @@
|
|||
{
|
||||
inputs, outputs, config, pkgs, lib,
|
||||
label, flakePath,
|
||||
user, userDescription,
|
||||
homeDirectory,
|
||||
wallpapersPath, wallpaper,
|
||||
avatarsPath, avatar,
|
||||
...
|
||||
}:
|
||||
|
||||
let hostname = "${config.networking.hostName}";
|
||||
|
||||
in {
|
||||
|
||||
imports = [ ];
|
||||
|
||||
# Primary user configuration -
|
||||
# to create additional users, copy all options
|
||||
# below to a new file akin to `u-username.nix`,
|
||||
# or `u-username/default.nix` with more modules,
|
||||
# making sure to replace all instances of
|
||||
# `${primaryUser}` with the new username.
|
||||
|
||||
# Needed for sops-nix to handle loginPassword
|
||||
#sops.secrets.loginPassword.neededForUsers = true;
|
||||
#users.mutableUsers = false;
|
||||
|
||||
# System-level user declarations
|
||||
users.users = {
|
||||
${user} = {
|
||||
description = "${userDescription}";
|
||||
isNormalUser = true;
|
||||
extraGroups = [ "wheel" "networkmanager" ];
|
||||
#hashedPasswordFile = config.sops.secrets.loginPassword.path;
|
||||
shell = pkgs.fish; # catgirls favourite shell
|
||||
};
|
||||
};
|
||||
|
||||
# home-manager configuration
|
||||
home-manager = {
|
||||
verbose = true; # enables verbose output on activation
|
||||
extraSpecialArgs = { # passes in specialArgs from flake.nix
|
||||
inherit inputs outputs;
|
||||
inherit hostname;
|
||||
inherit label flakePath;
|
||||
inherit user userDescription;
|
||||
inherit homeDirectory;
|
||||
inherit wallpapersPath wallpaper;
|
||||
inherit avatarsPath avatar;
|
||||
};
|
||||
users = {
|
||||
${user} = {
|
||||
imports = [
|
||||
# Home configuration -
|
||||
# currently all users share the same home
|
||||
# configuration, though each has separate
|
||||
# home directories. Additional modules
|
||||
# can be declared alongside `u-username/default.nix`
|
||||
# and then imported in this section.
|
||||
#./resources/theme
|
||||
./desktop
|
||||
./terminal
|
||||
./multimedia
|
||||
];
|
||||
home = {
|
||||
stateVersion = "24.11"; # IMPORTANT
|
||||
#programs.home-manager.enable = true;
|
||||
#systemd.user.startServices = "sd-switch";
|
||||
username = "${user}"; # passes username from `flake.nix`
|
||||
homeDirectory = "${homeDirectory}"; # passes homedir from `flake.nix`
|
||||
file."avatars" = {
|
||||
source = ./resources/avatars;
|
||||
target = "${avatarsPath}";
|
||||
recursive = true;
|
||||
};
|
||||
file."wallpapers" = { # copies wallpapers
|
||||
source = ./resources/wallpapers; # from flake directory
|
||||
target = "${wallpapersPath}"; # to home directory
|
||||
recursive = true; # think this is important, icr
|
||||
};
|
||||
};
|
||||
nix.gc = {
|
||||
automatic = true;
|
||||
dates = "daily";
|
||||
options = "--delete-older-than 1d";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
207
old/home/desktop/default.nix
Executable file
207
old/home/desktop/default.nix
Executable file
|
|
@ -0,0 +1,207 @@
|
|||
{ inputs, config, pkgs, lib, flakePath, homeDirectory, ... }:
|
||||
|
||||
let
|
||||
|
||||
# Base desktop theme
|
||||
#serenityos-base = import ./serenityos-base.nix { inherit pkgs; };
|
||||
#line-icons = import ./line-icons.nix { inherit pkgs; };
|
||||
|
||||
in {
|
||||
|
||||
imports = [
|
||||
# Import common desktop configs
|
||||
./xdg-mime.nix # file associations
|
||||
./wofi.nix # launcher
|
||||
./niri # WM
|
||||
# Import user theme(s)
|
||||
../resources/theme
|
||||
../resources/theme/SerenityOS.nix
|
||||
];
|
||||
|
||||
# Services
|
||||
systemd.user.startServices = "sd-switch"; # cant remember
|
||||
services = {
|
||||
# GTK keyring for password prompts
|
||||
gnome-keyring = {
|
||||
enable = true; # enables gnome-keyring
|
||||
};
|
||||
# Phone <-> Desktop integration
|
||||
kdeconnect = {
|
||||
enable = false; # enables kdeconnect
|
||||
indicator = false; # enables tray applet
|
||||
};
|
||||
# Disk automount service
|
||||
udiskie = {
|
||||
enable = true; # enables udiskie
|
||||
tray = "always"; # enables tray applet
|
||||
notify = true; # sends notification on disk mount
|
||||
automount = true; # automatically mount new disk
|
||||
};
|
||||
};
|
||||
|
||||
xdg = {
|
||||
# Creates user directory variables
|
||||
userDirs = {
|
||||
enable = true;
|
||||
createDirectories = true;
|
||||
extraConfig = {
|
||||
FLAKE = "${flakePath}";
|
||||
SYNC = "${homeDirectory}/Sync";
|
||||
};
|
||||
};
|
||||
# Enables portals
|
||||
portal = {
|
||||
enable = true;
|
||||
xdgOpenUsePortal = false;
|
||||
# Extra portal config
|
||||
config = {
|
||||
common."org.freedesktop.impl.portal.Secret" = [ "gnome-keyring" ];
|
||||
common.default = [ "gtk" "wlr" "gnome" ];
|
||||
sway.default = [ "gtk" "wlr" "gnome" ];
|
||||
};
|
||||
# Packages to use for config
|
||||
configPackages = with pkgs; [
|
||||
xdg-desktop-portal-gtk
|
||||
xdg-desktop-portal-wlr
|
||||
xdg-desktop-portal-gnome
|
||||
];
|
||||
# Extra portals to enable
|
||||
extraPortals = with pkgs; [
|
||||
xdg-desktop-portal-gtk
|
||||
xdg-desktop-portal-wlr
|
||||
xdg-desktop-portal-gnome
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
qt = {
|
||||
# Enables QT
|
||||
enable = true;
|
||||
# Specifies the base theme to use
|
||||
#platformTheme.name = "Colloid-dark";
|
||||
#style = {
|
||||
#name = "Colloid-dark";
|
||||
#package = pkgs.colloid-kde;
|
||||
#};
|
||||
};
|
||||
|
||||
gtk = {
|
||||
# Enables GTK
|
||||
enable = true;
|
||||
# Specifies the font to use
|
||||
font = {
|
||||
name = "${config.theme.font}";
|
||||
size = 10;
|
||||
};
|
||||
# Specifies the icon theme to use
|
||||
iconTheme = {
|
||||
name = "Flat-Remix-Grey-Darkest";
|
||||
package = pkgs.flat-remix-icon-theme;
|
||||
};
|
||||
# Specifies the base theme to use
|
||||
theme = lib.mkForce {
|
||||
name = "Colloid-Dark";
|
||||
package = pkgs.colloid-gtk-theme;
|
||||
};
|
||||
# Tries to force a dark theme globally
|
||||
gtk3.extraConfig.gtk-application-prefer-dark-theme = 1;
|
||||
gtk4.extraConfig.gtk-application-prefer-dark-theme = 1;
|
||||
};
|
||||
|
||||
# Fonts
|
||||
# surely there is a better way to do fonts ?
|
||||
fonts = { fontconfig = { enable = true; }; };
|
||||
|
||||
home = {
|
||||
# Sets user session variables
|
||||
sessionVariables = {
|
||||
GTK_THEME = "Colloid-Teal-Dark-Dracula"; # i haev no idea what im doing
|
||||
BROWSER = "firefox"; # furry browser
|
||||
TERMINAL = "kitty"; # furry terminal
|
||||
NIXPKGS_ALLOW_UNFREE = 1; # unfortunately
|
||||
};
|
||||
# Copies cursor theme files to the relevant location
|
||||
file.".icons/bibata".source = "${pkgs.bibata-cursors}/share/icons/Bibata-Modern-Classic";
|
||||
# Specifies pointer theme and size
|
||||
pointerCursor = {
|
||||
gtk.enable = true; # GTK cursor
|
||||
package = pkgs.bibata-cursors;
|
||||
name = "Bibata-Modern-Classic";
|
||||
size = 12;
|
||||
};
|
||||
# Base package set to include in home/desktop configuration
|
||||
packages = with pkgs; [
|
||||
# Networking
|
||||
#networkmanagerapplet # Tray applet for networkmanager
|
||||
#networkmanager # Network manager ...
|
||||
# Security
|
||||
gnome-keyring # Keyring for login prompts
|
||||
gnome-secrets # GTK password manager
|
||||
keepass-diff # CLI-tool to diff kbdx files
|
||||
keepassxc # Feature rich password manager
|
||||
seahorse # GTK secrets managment
|
||||
soteria # GTK/rust desktop-agnostic polkit agent
|
||||
# Desktop Features
|
||||
brightnessctl # Display brightness control
|
||||
wdisplays # Display configuration
|
||||
wlr-randr # Display modesetting
|
||||
wlsunset # Bluelight filter
|
||||
wl-clipboard # Clipboard service
|
||||
# Desktop App Suite
|
||||
gnome-calculator # Simple calculator
|
||||
appimage-run # Runs appimages
|
||||
file-roller # Simple archive manager
|
||||
themix-gui # GTK theme creation tool
|
||||
nautilus # Simple file manager
|
||||
swayimg # Terminal based image viewer
|
||||
zathura # Simple PDF viewer
|
||||
gparted # GUI partition editor
|
||||
# Wayland
|
||||
wayland-protocols
|
||||
wayland-utils
|
||||
xwayland
|
||||
wlroots
|
||||
# QT
|
||||
libsForQt5.qt5.qtwayland
|
||||
libsForQt5.qt5ct
|
||||
# Misc.
|
||||
libnotify # Notifier library
|
||||
libva # Library for ???
|
||||
meson # Package builder
|
||||
];
|
||||
};
|
||||
|
||||
## ORGANISE THIS MESS
|
||||
# https://mynixos.com/home-manager/options/home.file.%3Cname%3E
|
||||
# https://nix-community.github.io/home-manager/options.xhtml#opt-home.file
|
||||
# https://nix-community.github.io/home-manager/options.xhtml#opt-home.activation
|
||||
# need option for `zfs set mountpoint=/myspecialfolder mypool`
|
||||
# need to set up auto luks unlock with sops-nix
|
||||
|
||||
## Provides LUKS key for Asphodel
|
||||
#environment.etc."crypttab".text = ''
|
||||
#Asphodel /dev/disk/by-uuid/45f5f6ad-a676-4bc1-ad4b-e3e26b5697f4 ${config.sops.secrets.asphodelLuksPassword}
|
||||
#'';
|
||||
|
||||
## Mounts Asphodel to typical media location
|
||||
#fileSystems."/run/media/${user}/Asphodel".device =
|
||||
#"/dev/mapper/Asphodel";
|
||||
|
||||
#home.file = { # Files and directories to copy to ${homeDirectory}
|
||||
|
||||
## Example format for home.file
|
||||
#"Foo" = { # Name for the copied file
|
||||
#source = ./Foo; # Source is relative to this file
|
||||
#target = "Desired/Path/To/Foo"; # Target path for Foo within ${homeDirectory}
|
||||
#recursive = true; # Unsure if necessary for most things
|
||||
#};
|
||||
|
||||
#};
|
||||
# Syncthing program service
|
||||
#syncthing = {
|
||||
#enable = false; # enables syncthing
|
||||
#tray.enable = true; # enables tray applet
|
||||
#guiAddress = "home.syncthing:8384"; # local addess to use
|
||||
#};
|
||||
|
||||
}
|
||||
135
old/home/desktop/niri/binds.nix
Executable file
135
old/home/desktop/niri/binds.nix
Executable file
|
|
@ -0,0 +1,135 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
|
||||
let
|
||||
widthDivisions = [ 1.0 2.0 3.0 4.0 ];
|
||||
heightDivisions = [ 1.0 2.0 3.0 4.0 ];
|
||||
|
||||
# black magic, expected output:
|
||||
# [ { proportion = 1.0 / 1.0 }
|
||||
# { proportion = 1.0 / 2.0 }
|
||||
# ...
|
||||
# { proportion = 2.0 / 1.0 }
|
||||
# { proportion = 2.0 / 3.0 }
|
||||
# ...
|
||||
# { proportion = 4.0 / 4.0 } ]
|
||||
getProportions = divisions: lib.lists.unique(lib.lists.flatten( # TODO: make this a callable function
|
||||
map(x: map(y:
|
||||
{ proportion = x / y; }
|
||||
) divisions) divisions
|
||||
));
|
||||
|
||||
|
||||
# then get all the unique outputs (removing double ups of 0.5 or others)
|
||||
columnWidths = getProportions widthDivisions;
|
||||
columnWidthsFiltered = builtins.filter(x: builtins.lessThan x.proportion 1.0) columnWidths; # just get the values that are below 1
|
||||
|
||||
windowHeights = getProportions heightDivisions;
|
||||
windowHeightsFiltered = builtins.filter(x: builtins.lessThan x.proportion 1.0) windowHeights;
|
||||
|
||||
in {
|
||||
|
||||
## Goals:
|
||||
## - Way to open new windows in specific areas of the creen
|
||||
## - Way to spawn terminals floating
|
||||
## - Interact with Noctalia shell more with binds
|
||||
# credit sodiboo for this one in particular
|
||||
programs.niri.settings.layout = {
|
||||
preset-column-widths = builtins.sort( # sort list for predictable behaviour
|
||||
a: b: builtins.lessThan a.proportion b.proportion
|
||||
) columnWidthsFiltered;
|
||||
default-column-width.proportion = 1.0 / 3.0;
|
||||
|
||||
preset-window-heights = builtins.sort(
|
||||
a: b: builtins.lessThan a.proportion b.proportion
|
||||
) windowHeightsFiltered;
|
||||
};
|
||||
programs.niri.settings.binds = with config.lib.niri.actions; {
|
||||
|
||||
## Window manager controls
|
||||
|
||||
|
||||
|
||||
|
||||
# Debug & Utility
|
||||
"Mod+Shift+Slash".action = show-hotkey-overlay; # I am forgetful
|
||||
"Mod+Shift+Escape" = { # Ensures niri keybinds are read
|
||||
action = toggle-keyboard-shortcuts-inhibit;
|
||||
allow-inhibiting = false;
|
||||
};
|
||||
|
||||
# Session management
|
||||
"Ctrl+Alt+Delete".action = quit; # Log out
|
||||
#"Mod+Escape".action.spawn = "<lock>"; # Screen lock
|
||||
"Mod+Shift+P".action = power-off-monitors; # Power saving
|
||||
|
||||
# Task management
|
||||
"Mod+Q".action = close-window;
|
||||
"Mod+Q".repeat = false; # No window decorations lol
|
||||
"Mod+O".action = toggle-overview;
|
||||
"Mod+O".repeat = false; # Multi-tasking
|
||||
"Mod+Tab".action = spawn "${pkgs.wofi}/bin/wofi";
|
||||
"Mod+Tab".repeat = false; # App launcher
|
||||
|
||||
# Terminal
|
||||
"Mod+Return".action = spawn "${pkgs.kitty}/bin/kitty";
|
||||
"Mod+Return".repeat = false;
|
||||
#"Mod+Shift+Return".action = spawn floating "${pkgs.kitty}/bin/kitty";
|
||||
#"Mod+Shift+Return".repeat = false;
|
||||
|
||||
# Keyboard focus controls
|
||||
"Mod+H".action = focus-column-left;
|
||||
"Mod+L".action = focus-column-right; # VIM binds
|
||||
"Mod+J".action = focus-window-or-workspace-down;
|
||||
"Mod+K".action = focus-window-or-workspace-up;
|
||||
"Mod+Left".action = focus-column-left;
|
||||
"Mod+Right".action = focus-column-right; # Regular binds
|
||||
"Mod+Down".action = focus-workspace-down;
|
||||
"Mod+Up".action = focus-workspace-up;
|
||||
|
||||
# Mouse focus controls
|
||||
"Mod+WheelScrollLeft".action = focus-column-left;
|
||||
"Mod+WheelScrollLeft".cooldown-ms = 200;
|
||||
"Mod+WheelScrollRight".action = focus-column-right;
|
||||
"Mod+WheelScrollRight".cooldown-ms = 200;
|
||||
"Mod+WheelScrollDown".action = focus-workspace-down;
|
||||
"Mod+WheelScrollDown".cooldown-ms = 200;
|
||||
"Mod+WheelScrollUp".action = focus-workspace-up;
|
||||
"Mod+WheelScrollUp".cooldown-ms = 200;
|
||||
|
||||
# Movement controls
|
||||
"Mod+Shift+H".action = move-column-left;
|
||||
"Mod+Shift+L".action = move-column-right; # VIM binds
|
||||
"Mod+Shift+J".action = move-column-to-workspace-down;
|
||||
"Mod+Shift+K".action = move-column-to-workspace-up;
|
||||
"Mod+Shift+Left".action = move-column-left;
|
||||
"Mod+Shift+Right".action = move-column-right; # Regular binds
|
||||
"Mod+Shift+Down".action = move-column-to-workspace-down;
|
||||
"Mod+Shift+Up".action = move-column-to-workspace-up;
|
||||
|
||||
# Size controls
|
||||
#"Mod+1".action = set-column-width "25%";
|
||||
#"Mod+2".action = set-column-width "50%";
|
||||
#"Mod+3".action = set-column-width "75%";
|
||||
#"Mod+4".action = set-column-width "100%";
|
||||
"Mod+Minus".action = switch-preset-column-width-back;
|
||||
"Mod+Equal".action = switch-preset-column-width;
|
||||
"Mod+Shift+Minus".action = switch-preset-window-height-back;
|
||||
"Mod+Shift+Equal".action = switch-preset-window-height;
|
||||
"Mod+C".action = center-visible-columns;
|
||||
"Mod+F".action = maximize-column;
|
||||
"Mod+Shift+F".action = fullscreen-window;
|
||||
"Mod+Ctrl+F".action = expand-column-to-available-width;
|
||||
"Mod+Space".action = toggle-window-floating;
|
||||
"Mod+Shift+Space".action = switch-focus-between-floating-and-tiling;
|
||||
|
||||
# Screen capture
|
||||
"Mod+S".action.screenshot = {show-pointer = false;};
|
||||
"Mod+Shift+S".action.screenshot-window = []; # Screenshot
|
||||
"Mod+Shift+Alt+S".action.screenshot-screen = {show-pointer = true;};
|
||||
#"Mod+hypothetical+bind".action.screenshot-all-screens = {show-pointer = true;};
|
||||
#"Mod+hypothetical+bind".action.record-area = {show-pointer = true;};
|
||||
#"Mod+hypothetical+bind".action.record-window = {show-pointer = true;};
|
||||
#"Mod+hypothetical+bind".action.record-entire-screen = {show-pointer = true;};
|
||||
#"Mod+hypothetical+bind".action.record-all-screens = {show-pointer = true;};
|
||||
};
|
||||
}
|
||||
145
old/home/desktop/niri/default.nix
Executable file
145
old/home/desktop/niri/default.nix
Executable file
|
|
@ -0,0 +1,145 @@
|
|||
{ inputs, config, pkgs, lib, ... }:
|
||||
let
|
||||
|
||||
in {
|
||||
|
||||
imports = [
|
||||
inputs.niri.homeModules.niri
|
||||
#inputs.noctalia.homeModules.default
|
||||
./noctalia.nix
|
||||
./window-rules.nix
|
||||
#./visual.nix
|
||||
./binds.nix
|
||||
];
|
||||
|
||||
#xdg.configFile."niri/config.kdl".source = ./niri.kdl;
|
||||
|
||||
home.packages = with pkgs; [ jq xwayland-satellite-unstable ];
|
||||
|
||||
programs = {
|
||||
|
||||
niri = {
|
||||
enable = true;
|
||||
package = pkgs.niri-unstable;
|
||||
|
||||
settings = {
|
||||
|
||||
environment = {
|
||||
MOZ_ENABLE_WAYLAND = "1";
|
||||
NIXOS_OZONE_WL = "1";
|
||||
XDG_SESSION_TYPE = "wayland";
|
||||
XDG_CURRENT_DESKTOP = "niri";
|
||||
QT_QPA_PLATFORM = "wayland;xcb";
|
||||
QT_QPA_PLATFORMTHEME = "qt5ct";
|
||||
QT_WAYLAND_DISABLE_WINDOWDECORATION = "1";
|
||||
SDL_VIDEODRIVER = "wayland";
|
||||
WLR_RENDERER = "vulkan";
|
||||
DISPLAY = ":0";
|
||||
};
|
||||
|
||||
xwayland-satellite = {
|
||||
enable = true;
|
||||
path = lib.getExe pkgs.xwayland-satellite-unstable;
|
||||
};
|
||||
|
||||
outputs."DP-4" = {
|
||||
mode = {
|
||||
width = 3440;
|
||||
height = 1440;
|
||||
refresh = 74.924;
|
||||
};
|
||||
position = {
|
||||
x = 1920;
|
||||
y = 0;
|
||||
};
|
||||
scale = 1.0;
|
||||
variable-refresh-rate = "on-demand";
|
||||
focus-at-startup = true;
|
||||
};
|
||||
outputs."HDMI-A-2" = {
|
||||
mode = {
|
||||
width = 1920;
|
||||
height = 1080;
|
||||
refresh = 60.0;
|
||||
};
|
||||
position = {
|
||||
x = 0;
|
||||
y = 360;
|
||||
};
|
||||
scale = 1.0;
|
||||
};
|
||||
|
||||
input = {
|
||||
focus-follows-mouse = {
|
||||
enable = true;
|
||||
max-scroll-amount = "0%";
|
||||
};
|
||||
keyboard = { numlock = true; };
|
||||
mouse = {
|
||||
enable = true;
|
||||
natural-scroll = false;
|
||||
};
|
||||
touchpad = {
|
||||
enable = true;
|
||||
natural-scroll = true;
|
||||
};
|
||||
trackpoint = { enable = true; };
|
||||
};
|
||||
|
||||
prefer-no-csd = true;
|
||||
layout = {
|
||||
gaps = 8;
|
||||
struts = {
|
||||
left = 2;
|
||||
right = 2;
|
||||
top = 2;
|
||||
bottom = 4;
|
||||
};
|
||||
center-focused-column = "never";
|
||||
preset-column-widths = [
|
||||
#{proportion = 0.25;}
|
||||
{ proportion = 0.33333; }
|
||||
{ proportion = 0.5; }
|
||||
{
|
||||
proportion = 0.66667;
|
||||
}
|
||||
#{proportion = 0.75;}
|
||||
{ proportion = 1.0; }
|
||||
];
|
||||
border = { enable = false; };
|
||||
focus-ring = {
|
||||
enable = true;
|
||||
width = 2;
|
||||
active.gradient = {
|
||||
from = "#00cdff";
|
||||
to = "#80c8ff";
|
||||
angle = 45;
|
||||
};
|
||||
inactive.gradient = {
|
||||
from = "#705050";
|
||||
to = "#505070";
|
||||
angle = 45;
|
||||
};
|
||||
};
|
||||
};
|
||||
animations = {
|
||||
enable = true;
|
||||
slowdown = 1.25;
|
||||
};
|
||||
|
||||
spawn-at-startup = [
|
||||
{ argv = [ "xwayland-satellite" ]; }
|
||||
{ argv = [ "noctalia-shell" ]; }
|
||||
{ argv = [ "kitty" "btop" ]; }
|
||||
];
|
||||
|
||||
hotkey-overlay = {
|
||||
skip-at-startup = true;
|
||||
hide-not-bound = false;
|
||||
};
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
}
|
||||
99
old/home/desktop/niri/noctalia.nix
Executable file
99
old/home/desktop/niri/noctalia.nix
Executable file
|
|
@ -0,0 +1,99 @@
|
|||
{
|
||||
inputs, outputs, config, pkgs, lib,
|
||||
user, userDescription,
|
||||
homeDirectory,
|
||||
wallpapersPath, wallpaper,
|
||||
avatarsPath, avatar,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
#home-manager.users.${user} = {
|
||||
# import the home manager module
|
||||
imports = [ inputs.noctalia.homeModules.default ];
|
||||
|
||||
# configure options
|
||||
# https://docs.noctalia.dev/getting-started/nixos/
|
||||
programs.noctalia-shell = {
|
||||
enable = true;
|
||||
settings = {
|
||||
# configure noctalia here
|
||||
|
||||
general = {
|
||||
avatarImage = "${avatar}";
|
||||
radiusRatio = 0.2;
|
||||
showSessionButtonOnLockScreen = false;
|
||||
showHibernateOnLockScreen = true;
|
||||
};
|
||||
|
||||
location = {
|
||||
monthBeforeDay = true;
|
||||
name = "Brisbane, Australia";
|
||||
};
|
||||
|
||||
colorSchemes = { predefinedScheme = "Monochrome"; };
|
||||
|
||||
wallpaper = {
|
||||
directory = "${wallpapersPath}";
|
||||
hideWallpaperFilenames = true;
|
||||
|
||||
};
|
||||
|
||||
appLauncher = {
|
||||
terminalCommand = "kitty -e";
|
||||
showCategories = false;
|
||||
};
|
||||
|
||||
bar = {
|
||||
density = "comfortable";
|
||||
position = "top";
|
||||
showCapsule = false;
|
||||
monitors = [ "DP-4" ];
|
||||
floating = true;
|
||||
marginVertical = 0.25;
|
||||
marginHorizontal = 0.5;
|
||||
widgets = {
|
||||
|
||||
left = [{
|
||||
icon = "rocket";
|
||||
id = "CustomButton";
|
||||
leftClickExec = "wofi";
|
||||
}];
|
||||
|
||||
center = [{
|
||||
hideUnoccupied = false;
|
||||
id = "Workspace";
|
||||
labelMode = "none";
|
||||
}];
|
||||
|
||||
right = [
|
||||
{ id = "Tray"; }
|
||||
{ id = "WiFi"; }
|
||||
{ id = "Bluetooth"; }
|
||||
{
|
||||
alwaysShowPercentage = false;
|
||||
id = "Battery";
|
||||
warningThreshold = 30;
|
||||
}
|
||||
{
|
||||
formatHorizontal = "HH:mm";
|
||||
formatVertical = "HH mm";
|
||||
id = "Clock";
|
||||
useMonospacedFont = true;
|
||||
usePrimaryColor = true;
|
||||
}
|
||||
{
|
||||
id = "ControlCenter";
|
||||
useDistroLogo = true;
|
||||
}
|
||||
];
|
||||
|
||||
};
|
||||
};
|
||||
#ControlCenter = { };
|
||||
};
|
||||
# this may also be a string or a path to a JSON file,
|
||||
# but in this case must include *all* settings.
|
||||
};
|
||||
#};
|
||||
}
|
||||
51
old/home/desktop/niri/window-rules.nix
Executable file
51
old/home/desktop/niri/window-rules.nix
Executable file
|
|
@ -0,0 +1,51 @@
|
|||
_:
|
||||
let
|
||||
windowRules = [
|
||||
{
|
||||
geometry-corner-radius = let radius = 16.0;
|
||||
in {
|
||||
bottom-left = radius;
|
||||
bottom-right = radius;
|
||||
top-left = radius;
|
||||
top-right = radius;
|
||||
};
|
||||
clip-to-geometry = true;
|
||||
draw-border-with-background = false;
|
||||
}
|
||||
{
|
||||
matches = [{ app-id = "kitty"; }];
|
||||
opacity = 0.95;
|
||||
}
|
||||
{
|
||||
matches = [{ is-floating = true; }];
|
||||
default-floating-position = {
|
||||
relative-to = "top-left";
|
||||
x = 1720;
|
||||
y = 720;
|
||||
};
|
||||
max-height = 720;
|
||||
max-width = 1720;
|
||||
opacity = 0.95;
|
||||
shadow.enable = true;
|
||||
}
|
||||
{
|
||||
matches = [{title = "python\s[A-Za-z]+\.py";}];
|
||||
open-floating = true;
|
||||
open-focused = true;
|
||||
}
|
||||
{
|
||||
matches = [{title = "Python Turtle Graphics";}];
|
||||
open-floating = true;
|
||||
open-focused = true;
|
||||
}
|
||||
];
|
||||
in {
|
||||
programs.niri.settings = {
|
||||
window-rules = windowRules;
|
||||
layout = { background-color = "transparent"; };
|
||||
layer-rules = [{
|
||||
matches = [{ namespace = "^noctalia-wallpaper*"; }];
|
||||
place-within-backdrop = true;
|
||||
}];
|
||||
};
|
||||
}
|
||||
100
old/home/desktop/wofi.nix
Executable file
100
old/home/desktop/wofi.nix
Executable file
|
|
@ -0,0 +1,100 @@
|
|||
{ config, ... }: {
|
||||
|
||||
programs.wofi = {
|
||||
enable = true;
|
||||
|
||||
settings = {
|
||||
term = "kitty";
|
||||
show = "drun";
|
||||
width = 500;
|
||||
height = 300;
|
||||
prompt = "Programs";
|
||||
normal_window = true;
|
||||
key_exit = "Escape";
|
||||
key_expand = "Tab";
|
||||
layer = "top";
|
||||
gtk_dark = true;
|
||||
orientation = "vertical";
|
||||
halign = "fill";
|
||||
line_wrap = "off";
|
||||
dynamic_lines = false;
|
||||
allow_markup = true;
|
||||
allow_images = true;
|
||||
image_size = 24;
|
||||
hide_scroll = true;
|
||||
hide_search = false;
|
||||
exec_search = false;
|
||||
parse_search = false;
|
||||
insensitive = true;
|
||||
no_actions = true;
|
||||
sort_order = "default";
|
||||
filter_rate = 100;
|
||||
## Steam not launching from wofi, but will launch in terminal
|
||||
## See: core/modules/gaming.nix
|
||||
## https://github.com/ValveSoftware/steam-for-linux/issues/9940
|
||||
disable_prime = false;
|
||||
};
|
||||
|
||||
style = ''
|
||||
/** ********** Fonts ********** **/
|
||||
|
||||
* {
|
||||
font-family: "${config.theme.font}";
|
||||
font-weight: 500;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
#window {
|
||||
background-color: #${config.theme.colors.alt-bg};
|
||||
color: #${config.theme.colors.alt-fg};
|
||||
border-radius: ${toString config.theme.rounding}px;
|
||||
}
|
||||
|
||||
#outer-box {
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
#input {
|
||||
background-color: #${config.theme.colors.bg};
|
||||
border: 0px solid #${config.theme.colors.primary-bg};
|
||||
padding: 8px 12px;
|
||||
}
|
||||
|
||||
#scroll {
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
#inner-box {}
|
||||
|
||||
#img {
|
||||
padding-right: 8px;
|
||||
}
|
||||
|
||||
#text {
|
||||
color: #${config.theme.colors.color7};
|
||||
}
|
||||
|
||||
#text:selected {
|
||||
color: #${config.theme.colors.fg};
|
||||
}
|
||||
|
||||
#entry {
|
||||
padding: 6px;
|
||||
}
|
||||
|
||||
#entry:selected {
|
||||
background-color: #${config.theme.colors.primary-bg};
|
||||
color: #${config.theme.colors.primary-fg};
|
||||
}
|
||||
|
||||
#unselected {}
|
||||
|
||||
#selected {}
|
||||
|
||||
#input,
|
||||
#entry:selected {
|
||||
border-radius: ${toString (config.theme.rounding - 10)}px;
|
||||
}
|
||||
'';
|
||||
};
|
||||
}
|
||||
84
old/home/desktop/xdg-mime.nix
Executable file
84
old/home/desktop/xdg-mime.nix
Executable file
|
|
@ -0,0 +1,84 @@
|
|||
# Mime allows us to configure the default applications for each file type
|
||||
{
|
||||
xdg = {
|
||||
mime.enable = true;
|
||||
configFile."mimeapps.list" = {
|
||||
#enable = true; # enables ? following declarations
|
||||
force = true; # forces the following declarations
|
||||
};
|
||||
#desktopEntries = { };
|
||||
mimeApps = {
|
||||
enable = true;
|
||||
associations = {
|
||||
added = {
|
||||
## General Desktop
|
||||
#"text/plain" = [ "nvim.desktop" ];
|
||||
"text/markdown" = [ "obsidian.desktop" ];
|
||||
"inode/directory" = [ "nautilus.desktop" ];
|
||||
## Multimedia
|
||||
"image/gif" = [ "gimp.desktop" ];
|
||||
"image/png" = [ "gimp.desktop" ];
|
||||
"image/jpg" = [ "gimp.desktop" ];
|
||||
"image/jpeg" = [ "gimp.desktop" ];
|
||||
"image/webp" = [ "gimp.desktop" ];
|
||||
"audio/aac" = [ "vlc.desktop" ];
|
||||
"audio/mp4" = [ "vlc.desktop" ];
|
||||
"audio/ogg" = [ "vlc.desktop" ];
|
||||
"audio/opus" = [ "vlc.desktop" ];
|
||||
"audio/mpeg" = [ "vlc.desktop" ];
|
||||
"audio/aiff" = [ "vlc.desktop" ];
|
||||
"audio/flac" = [ "vlc.desktop" ];
|
||||
|
||||
## Web
|
||||
"text/css" = [ "firefox.desktop" ];
|
||||
"text/html" = [ "firefox.desktop" ];
|
||||
"application/json" = [ "nvim.desktop" ];
|
||||
};
|
||||
};
|
||||
defaultApplications = {
|
||||
## General Desktop
|
||||
"text/plain" = [ "nvim.desktop" ];
|
||||
"text/markdown" = [ "nvim.desktop" ];
|
||||
"inode/directory" = [ "yazi.desktop" ];
|
||||
"application/pdf" = [ "zathura.desktop" ];
|
||||
"application/zip" = [ "org.gnome.FileRoller.desktop" ];
|
||||
## Multimedia
|
||||
"image/gif" = [ "swayimg.desktop" ];
|
||||
"image/png" = [ "swayimg.desktop" ];
|
||||
"image/jpg" = [ "swayimg.desktop" ];
|
||||
"image/jpeg" = [ "swayimg.desktop" ];
|
||||
"image/webp" = [ "swayimg.desktop" ];
|
||||
"audio/aac" = [ "strawberry.desktop" ];
|
||||
"audio/mp4" = [ "strawberry.desktop" ];
|
||||
"audio/ogg" = [ "strawberry.desktop" ];
|
||||
"audio/opus" = [ "strawberry.desktop" ];
|
||||
"audio/mpeg" = [ "strawberry.desktop" ];
|
||||
"audio/aiff" = [ "strawberry.desktop" ];
|
||||
"audio/flac" = [ "strawberry.desktop" ];
|
||||
"audio/vnd.wav" = [ "strawberry.desktop" ];
|
||||
"video/mp4" = [ "vlc.desktop" ];
|
||||
"video/mpeg" = [ "vlc.desktop" ];
|
||||
"video/webm" = [ "vlc.desktop" ];
|
||||
"video/x-m4v" = [ "vlc.desktop" ];
|
||||
"video/x-msvideo" = [ "vlc.desktop" ];
|
||||
"video/quicktime" = [ "vlc.desktop" ];
|
||||
"video/x-matroska" = [ "vlc.desktop" ];
|
||||
## Web
|
||||
"text/css" = [ "nvim.desktop" ];
|
||||
"text/html" = [ "nvim.desktop" ];
|
||||
"application/json" = [ "firefox.desktop" ];
|
||||
"x-scheme-handler/ftp" = [ "firefox.desktop" ];
|
||||
"x-scheme-handler/http" = [ "firefox.desktop" ];
|
||||
"x-scheme-handler/https" = [ "firefox.desktop" ];
|
||||
## Code
|
||||
"text/x-shellscript" = [ "nvim.desktop" ];
|
||||
"text/x-xml" = [ "nvim.desktop" ];
|
||||
"text/x-yaml" = [ "nvim.desktop" ];
|
||||
"text/x-toml" = [ "nvim.desktop" ];
|
||||
"text/x-nix" = [ "nvim.desktop" ];
|
||||
"text/x-rust" = [ "nvim.desktop" ];
|
||||
"text/x-python" = [ "nvim.desktop" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
66
old/home/multimedia/default.nix
Executable file
66
old/home/multimedia/default.nix
Executable file
|
|
@ -0,0 +1,66 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
|
||||
imports = [
|
||||
./music.nix
|
||||
];
|
||||
|
||||
## Easy effects daemon
|
||||
services.easyeffects.enable = true;
|
||||
|
||||
home.packages = with pkgs; [
|
||||
|
||||
# Browsing & Filesharing
|
||||
transmission_4-gtk # Torrent client
|
||||
nicotine-plus # P2P Media sharing
|
||||
carburetor # GUI settings for tractor
|
||||
syncplay # Synchronise media playback
|
||||
#lagrange # GUI Gemini browser
|
||||
tractor # TOR network routing
|
||||
tor # The Onion Router
|
||||
|
||||
# Messaging & Social
|
||||
#telegram-desktop
|
||||
#fractal-next
|
||||
#fractal
|
||||
vesktop
|
||||
|
||||
# Image
|
||||
gimp # General image editing
|
||||
#inkscape # Vector image editing
|
||||
|
||||
# Video
|
||||
vlc # Video playback
|
||||
#shotcut # Video editing
|
||||
|
||||
# 3D Creative
|
||||
blender # 3D modelling software
|
||||
orca-slicer # 3D print slicing
|
||||
|
||||
# Miscellaneous
|
||||
themix-gui # for creating gtk themes
|
||||
obsidian # note taking
|
||||
];
|
||||
|
||||
programs = {
|
||||
|
||||
# Web browser
|
||||
firefox = { enable = true; };
|
||||
|
||||
# Note taking
|
||||
obsidian = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
# Screenshare & recording
|
||||
obs-studio = {
|
||||
enable = true;
|
||||
plugins = with pkgs.obs-studio-plugins; [
|
||||
wlrobs
|
||||
#droidcam-obs
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
71
old/home/multimedia/music.nix
Executable file
71
old/home/multimedia/music.nix
Executable file
|
|
@ -0,0 +1,71 @@
|
|||
{
|
||||
inputs,
|
||||
outputs,
|
||||
lib,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
|
||||
home = {
|
||||
packages = with pkgs; [
|
||||
|
||||
## Chore: pick an offline music player already lol
|
||||
## Requirements:
|
||||
## - have last.fm support
|
||||
## - match other UI styles
|
||||
## - handle large amounts of FLAC/HiRes audio
|
||||
## - optionally support metadata editing
|
||||
|
||||
# Music players
|
||||
spotify # corpo trash
|
||||
strawberry # QT music player
|
||||
#lollypop # GTK/Gnome native music player
|
||||
#pragha # Music player
|
||||
#tauon # Music player
|
||||
|
||||
# Music Production
|
||||
easyeffects # Effects and DSP
|
||||
pavucontrol # Precise volume control
|
||||
crosspipe # patchbay and routing
|
||||
#neural-amp-modeler-lv2 # Guitar amp emulator
|
||||
metronome # GTK metronome
|
||||
bespokesynth # DAW/Synth
|
||||
audacity # Audio editing and DAW
|
||||
cardinal # Synth/VST
|
||||
reaper # DAW
|
||||
ardour # DAW
|
||||
vital # Synth/VST
|
||||
helm # Synth/VST
|
||||
|
||||
# Misc. Tools
|
||||
puddletag # Music metadata editor
|
||||
libjack2 # unsure
|
||||
zenity # unsure
|
||||
glfw # unsure
|
||||
|
||||
# Tidal/Supercollider
|
||||
#supercollider-with-plugins
|
||||
#tidal # vers. from flake input
|
||||
#vim-tidal
|
||||
#superdirt-start
|
||||
#superdirt-install
|
||||
]; # ++ (with pkgs.haskellPackages; [
|
||||
#tidal # Pattern language for improvised music
|
||||
#tidal # Pattern language for improvised music
|
||||
#tidal-core # Core pattern library for Tidal
|
||||
#tidal-vis # Visual rendering for Tidal patterns
|
||||
#]);
|
||||
};
|
||||
|
||||
## Neovim plugins for Supercollider & Tidal Cycles
|
||||
## - full nvim environment for supercollider is WIP
|
||||
## - same goes for Tidal Cycles
|
||||
#programs.nixvim.extraPlugins = with pkgs.vimPlugins; [
|
||||
#nvim-treesitter-parsers.supercollider # as below for SC
|
||||
#vim-tidal # tidal cycles LSP for neovim
|
||||
#];
|
||||
|
||||
}
|
||||
BIN
old/home/resources/avatars/avatar.jpg
Executable file
BIN
old/home/resources/avatars/avatar.jpg
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 13 KiB |
BIN
old/home/resources/btop.png
Normal file
BIN
old/home/resources/btop.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.1 MiB |
BIN
old/home/resources/desktop.png
Normal file
BIN
old/home/resources/desktop.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.2 MiB |
16
old/home/resources/theme/SerenityOS-GTK.nix
Executable file
16
old/home/resources/theme/SerenityOS-GTK.nix
Executable file
|
|
@ -0,0 +1,16 @@
|
|||
{ pkgs }:
|
||||
|
||||
pkgs.stdenv.mkDerivation {
|
||||
name = "$name";
|
||||
src = pkgs.fetchurl {
|
||||
url = "";
|
||||
sha256 = "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA";
|
||||
};
|
||||
|
||||
dontUnpack = true;
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out
|
||||
${pkgs.unzip}/bin/unzip $src -d $out/
|
||||
'';
|
||||
}
|
||||
48
old/home/resources/theme/SerenityOS.nix
Executable file
48
old/home/resources/theme/SerenityOS.nix
Executable file
|
|
@ -0,0 +1,48 @@
|
|||
{ config, wallpapersPath, wallpaper, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
#./template.nix
|
||||
];
|
||||
|
||||
theme = {
|
||||
wallpaper = "${wallpaper}";
|
||||
lockscreenWallpaper = "${wallpapersPath}/attunement-HelveticaBlanc.png";
|
||||
waybar-transparent = true;
|
||||
font-mono = "spleen 32x64";
|
||||
font = "spleen 32x64";
|
||||
rounding = 18;
|
||||
gaps-in = 4;
|
||||
gaps-out = 8;
|
||||
border-size = 1;
|
||||
|
||||
colors = {
|
||||
bg = "000000";
|
||||
fg = "FCFCFC";
|
||||
alt-bg = "101012";
|
||||
alt-fg = "ECECEC";
|
||||
primary-ansi-16 = "cyan";
|
||||
primary-bg = "00cdff";
|
||||
primary-fg = "000000";
|
||||
secondary-bg = "11222e";
|
||||
secondary-fg = "000000";
|
||||
color0 = "000000";
|
||||
color1 = "f7768e";
|
||||
color2 = "73daca";
|
||||
color3 = "cfb264";
|
||||
color4 = "7a82f7";
|
||||
color5 = "a778F8";
|
||||
color6 = "7dd8ff";
|
||||
color7 = "E4E5E7";
|
||||
color8 = "515878";
|
||||
color9 = "f7869e";
|
||||
color10 = "83eada";
|
||||
color11 = "f0bf78";
|
||||
color12 = "8ab2f7";
|
||||
color13 = "A988F8";
|
||||
color14 = "8ddfff";
|
||||
color15 = "f4f5f7";
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
143
old/home/resources/theme/default.nix
Executable file
143
old/home/resources/theme/default.nix
Executable file
|
|
@ -0,0 +1,143 @@
|
|||
{ lib, config, ... }:
|
||||
|
||||
with lib;
|
||||
|
||||
{
|
||||
|
||||
imports = [
|
||||
./themepkgs.nix # imports declared theme packages
|
||||
];
|
||||
|
||||
## Configurable options for themes
|
||||
options.theme = {
|
||||
|
||||
waybar-transparent = mkOption {
|
||||
type = types.bool;
|
||||
description = "Does waybar have a transparent background?";
|
||||
};
|
||||
|
||||
wallpaper = mkOption {
|
||||
type = types.str;
|
||||
description = "Name of the wallpaper (from the wallpapers directory)";
|
||||
};
|
||||
|
||||
lockscreenWallpaper = mkOption {
|
||||
type = types.str;
|
||||
description = "Name of the lockscreen wallpaper (from the wallpapers directory)";
|
||||
};
|
||||
|
||||
font = mkOption {
|
||||
type = types.str;
|
||||
description = "Default font";
|
||||
};
|
||||
|
||||
font-mono = mkOption {
|
||||
type = types.str;
|
||||
description = "Default mono font";
|
||||
};
|
||||
|
||||
rounding = mkOption {
|
||||
type = types.int;
|
||||
description = "Borders rounding";
|
||||
};
|
||||
|
||||
gaps-in = mkOption {
|
||||
type = types.int;
|
||||
description = "Gaps in";
|
||||
};
|
||||
|
||||
gaps-out = mkOption {
|
||||
type = types.int;
|
||||
description = "Gaps out";
|
||||
};
|
||||
|
||||
border-size = mkOption {
|
||||
type = types.int;
|
||||
description = "Border size";
|
||||
};
|
||||
|
||||
colors = let
|
||||
mkColorOption = name: {
|
||||
inherit name;
|
||||
value = mkOption {
|
||||
type = types.strMatching "[a-fA-F0-9]{6}";
|
||||
description = "Color ${name}.";
|
||||
};
|
||||
};
|
||||
in listToAttrs (map mkColorOption [
|
||||
"bg"
|
||||
"fg"
|
||||
"alt-bg"
|
||||
"alt-fg"
|
||||
"primary-bg"
|
||||
"primary-fg"
|
||||
"secondary-bg"
|
||||
"secondary-fg"
|
||||
"color0"
|
||||
"color1"
|
||||
"color2"
|
||||
"color3"
|
||||
"color4"
|
||||
"color5"
|
||||
"color6"
|
||||
"color7"
|
||||
"color8"
|
||||
"color9"
|
||||
"color10"
|
||||
"color11"
|
||||
"color12"
|
||||
"color13"
|
||||
"color14"
|
||||
"color15"
|
||||
]) // {
|
||||
primary-ansi-16 = mkOption {
|
||||
type = types.str;
|
||||
description =
|
||||
"Name of the primary color - ansi 16 colors (black, red, green, yellow, blue, magenta, cyan, white, bright-black, bright-red, bright-green, bright-yellow, bright-blue, bright-magenta, bright-cyan, bright-white)";
|
||||
};
|
||||
|
||||
primary-ansi-16-number = mkOption {
|
||||
type = types.int;
|
||||
description = "Set the primary color - ansi 16 colors (0-15)";
|
||||
};
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
config.theme.colors.primary-ansi-16-number =
|
||||
if config.theme.colors.primary-ansi-16 == "black" then
|
||||
0
|
||||
else if config.theme.colors.primary-ansi-16 == "red" then
|
||||
1
|
||||
else if config.theme.colors.primary-ansi-16 == "green" then
|
||||
2
|
||||
else if config.theme.colors.primary-ansi-16 == "yellow" then
|
||||
3
|
||||
else if config.theme.colors.primary-ansi-16 == "blue" then
|
||||
4
|
||||
else if config.theme.colors.primary-ansi-16 == "magenta" then
|
||||
5
|
||||
else if config.theme.colors.primary-ansi-16 == "cyan" then
|
||||
6
|
||||
else if config.theme.colors.primary-ansi-16 == "white" then
|
||||
7
|
||||
else if config.theme.colors.primary-ansi-16 == "bright-white" then
|
||||
8
|
||||
else if config.theme.colors.primary-ansi-16 == "bright-black" then
|
||||
9
|
||||
else if config.theme.colors.primary-ansi-16 == "bright-red" then
|
||||
10
|
||||
else if config.theme.colors.primary-ansi-16 == "bright-green" then
|
||||
11
|
||||
else if config.theme.colors.primary-ansi-16 == "bright-yellow" then
|
||||
12
|
||||
else if config.theme.colors.primary-ansi-16 == "bright-blue" then
|
||||
13
|
||||
else if config.theme.colors.primary-ansi-16 == "bright-magenta" then
|
||||
14
|
||||
else if config.theme.colors.primary-ansi-16 == "bright-cyan" then
|
||||
15
|
||||
else
|
||||
0;
|
||||
|
||||
}
|
||||
16
old/home/resources/theme/serenityos-base.nix
Executable file
16
old/home/resources/theme/serenityos-base.nix
Executable file
|
|
@ -0,0 +1,16 @@
|
|||
{ pkgs }:
|
||||
|
||||
pkgs.stdenv.mkDerivation {
|
||||
name = "serenityos-base";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "";
|
||||
hash = "sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=";
|
||||
};
|
||||
|
||||
dontUnpack = true;
|
||||
installPhase = ''
|
||||
mkdir -p $out
|
||||
${pkgs.unzip}/bin/unzip $src -d $out/
|
||||
'';
|
||||
}
|
||||
51
old/home/resources/theme/stylix.nix
Executable file
51
old/home/resources/theme/stylix.nix
Executable file
|
|
@ -0,0 +1,51 @@
|
|||
{ lib, pkgs, ... }:
|
||||
{
|
||||
stylix = {
|
||||
|
||||
# global cursor
|
||||
cursor = {
|
||||
|
||||
};
|
||||
|
||||
# global fonts
|
||||
fonts = {
|
||||
|
||||
};
|
||||
|
||||
# global opacity
|
||||
opacity = {
|
||||
applications = 1.0;
|
||||
terminal = 0.98;
|
||||
desktop = 1.0;
|
||||
popups = 0.98;
|
||||
};
|
||||
|
||||
|
||||
# 'light' or 'dark' or 'either'
|
||||
polarity = "dark";
|
||||
|
||||
# image to generate scheme from
|
||||
image = path/to/wallpaper.img;
|
||||
|
||||
# defined colour scheme
|
||||
base16Scheme = {
|
||||
base 00 = " ";
|
||||
base 01 = " ";
|
||||
base 02 = " ";
|
||||
base 03 = " ";
|
||||
base 04 = " ";
|
||||
base 05 = " ";
|
||||
base 06 = " ";
|
||||
base 07 = " ";
|
||||
base 08 = " ";
|
||||
base 09 = " ";
|
||||
base 0A = " ";
|
||||
base 0B = " ";
|
||||
base 0C = " ";
|
||||
base 0D = " ";
|
||||
base 0E = " ";
|
||||
base 0f = " ";
|
||||
};
|
||||
|
||||
};
|
||||
}
|
||||
42
old/home/resources/theme/sygil-plymouth.nix
Normal file
42
old/home/resources/theme/sygil-plymouth.nix
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
{
|
||||
stdenvNoCC,
|
||||
fetchFromGitea,
|
||||
lib,
|
||||
unstableGitUpdater,
|
||||
}:
|
||||
|
||||
stdenvNoCC.mkDerivation {
|
||||
name = "plymouth-sygil-theme";
|
||||
version = "0.2.0";
|
||||
|
||||
src = fetchFromGitea {
|
||||
domain = "codeberg.org";
|
||||
owner = "Serenity-F";
|
||||
repo = "sygil-plymouth";
|
||||
rev = "0.2.0";
|
||||
hash = "sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=";
|
||||
};
|
||||
|
||||
dontBuild = true;
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
mkdir -p $out/share/plymouth/themes/sygil
|
||||
cp sygil/* $out/share/plymouth/themes/sygil
|
||||
chmod +x $out/share/plymouth/themes/sygil/sygil.plymouth
|
||||
substituteInPlace $out/share/plymouth/themes/sygil/sygil.plymouth \
|
||||
--replace-fail "/usr/" "$out/"
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
passthru.updateScript = unstableGitUpdater { };
|
||||
|
||||
meta = {
|
||||
description = "Animated sygil Plymouth theme.";
|
||||
homepage = "https://codeberg.org/Serenity-F/sygil-plymouth";
|
||||
license = with lib.licenses; [ gpl3Only ];
|
||||
platforms = lib.platforms.linux;
|
||||
maintainers = with lib.maintainers; [ Serenity-F ];
|
||||
};
|
||||
|
||||
}
|
||||
95
old/home/resources/theme/template.nix
Executable file
95
old/home/resources/theme/template.nix
Executable file
|
|
@ -0,0 +1,95 @@
|
|||
{ lib, ... }:
|
||||
|
||||
with lib;
|
||||
|
||||
{
|
||||
options.theme = {
|
||||
|
||||
waybar-transparent = mkOption {
|
||||
type = types.bool;
|
||||
description = "Does waybar have a transparent background?";
|
||||
};
|
||||
|
||||
wallpaper = mkOption {
|
||||
type = types.str;
|
||||
description = "Name of the wallpaper (from the wallpapers directory)";
|
||||
};
|
||||
|
||||
font = mkOption {
|
||||
type = types.str;
|
||||
description = "Default font";
|
||||
};
|
||||
|
||||
font-mono = mkOption {
|
||||
type = types.str;
|
||||
description = "Default mono font";
|
||||
};
|
||||
|
||||
rounding = mkOption {
|
||||
type = types.int;
|
||||
description = "Borders rounding";
|
||||
};
|
||||
|
||||
gaps-in = mkOption {
|
||||
type = types.int;
|
||||
description = "Gaps in";
|
||||
};
|
||||
|
||||
gaps-out = mkOption {
|
||||
type = types.int;
|
||||
description = "Gaps out";
|
||||
};
|
||||
|
||||
border-size = mkOption {
|
||||
type = types.int;
|
||||
description = "Border size";
|
||||
};
|
||||
|
||||
colors = let
|
||||
mkColorOption = name: {
|
||||
inherit name;
|
||||
value = mkOption {
|
||||
type = types.strMatching "[a-fA-F0-9]{6}";
|
||||
description = "Color ${name}.";
|
||||
};
|
||||
};
|
||||
in listToAttrs (map mkColorOption [
|
||||
"bg"
|
||||
"fg"
|
||||
"alt-bg"
|
||||
"alt-fg"
|
||||
"primary-bg"
|
||||
"primary-fg"
|
||||
"secondary-bg"
|
||||
"secondary-fg"
|
||||
"color0"
|
||||
"color1"
|
||||
"color2"
|
||||
"color3"
|
||||
"color4"
|
||||
"color5"
|
||||
"color6"
|
||||
"color7"
|
||||
"color8"
|
||||
"color9"
|
||||
"color10"
|
||||
"color11"
|
||||
"color12"
|
||||
"color13"
|
||||
"color14"
|
||||
"color15"
|
||||
]) // {
|
||||
primary-ansi-16 = mkOption {
|
||||
type = types.str;
|
||||
description =
|
||||
"Name of the primary color - ansi 16 colors (black, red, green, yellow, blue, magenta, cyan, white, bright-black, bright-red, bright-green, bright-yellow, bright-blue, bright-magenta, bright-cyan, bright-white)";
|
||||
};
|
||||
|
||||
primary-ansi-16-number = mkOption {
|
||||
type = types.int;
|
||||
description = "Set the primary color - ansi 16 colors (0-15)";
|
||||
};
|
||||
|
||||
};
|
||||
};
|
||||
}
|
||||
16
old/home/resources/theme/themepkgs.nix
Executable file
16
old/home/resources/theme/themepkgs.nix
Executable file
|
|
@ -0,0 +1,16 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
|
||||
home.packages = with pkgs; [
|
||||
materia-theme-transparent
|
||||
materia-theme
|
||||
colloid-gtk-theme
|
||||
#colloid-kde
|
||||
adapta-gtk-theme
|
||||
adapta-kde-theme
|
||||
gnome-themes-extra
|
||||
materia-theme
|
||||
];
|
||||
|
||||
}
|
||||
BIN
old/home/resources/wallpapers/almondBlossoms-VanGogh.jpg
Executable file
BIN
old/home/resources/wallpapers/almondBlossoms-VanGogh.jpg
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 2.4 MiB |
BIN
old/home/resources/wallpapers/attunement-HelveticaBlanc.png
Executable file
BIN
old/home/resources/wallpapers/attunement-HelveticaBlanc.png
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 518 KiB |
18
old/home/terminal/btop.nix
Executable file
18
old/home/terminal/btop.nix
Executable file
|
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
|
||||
programs = {
|
||||
|
||||
btop = {
|
||||
enable = true;
|
||||
settings = {
|
||||
color_theme = "adapta";
|
||||
theme_background = false;
|
||||
};
|
||||
#package = with pkgs; [
|
||||
#btop
|
||||
#];
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
18
old/home/terminal/default.nix
Executable file
18
old/home/terminal/default.nix
Executable file
|
|
@ -0,0 +1,18 @@
|
|||
{ ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
|
||||
./git.nix # Version control
|
||||
./yazi.nix # File browser
|
||||
./fish.nix # Shell prompt
|
||||
./btop.nix # Task manager
|
||||
./kitty.nix # Catgirl terminal
|
||||
|
||||
#./fetch # CHOOSE FETCH PROVIDER
|
||||
#./neofetch.nix # OG fetch
|
||||
./fastfetch.nix # New fetch
|
||||
|
||||
./nvim # Neovim config, stolen
|
||||
];
|
||||
}
|
||||
34
old/home/terminal/fastfetch.nix
Executable file
34
old/home/terminal/fastfetch.nix
Executable file
|
|
@ -0,0 +1,34 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
|
||||
home = {
|
||||
packages = with pkgs; [
|
||||
peaclock # neat terminal clock applet
|
||||
cmatrix # funky terminal matrix rain
|
||||
];
|
||||
};
|
||||
|
||||
programs.fastfetch = {
|
||||
enable = true;
|
||||
#package = with pkgs; [
|
||||
#fastfetch
|
||||
#fastfetchMinimal
|
||||
#];
|
||||
|
||||
#settings = {
|
||||
#"$schema" = "https://github.com/fastfetch=cli/fastfetch/raw/dev/doc/json_schema.json";
|
||||
|
||||
#logo = {
|
||||
|
||||
#};
|
||||
|
||||
#display = {
|
||||
|
||||
#};
|
||||
|
||||
#};
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
245
old/home/terminal/fish.nix
Executable file
245
old/home/terminal/fish.nix
Executable file
|
|
@ -0,0 +1,245 @@
|
|||
{ pkgs, flakePath, ... }:
|
||||
|
||||
{
|
||||
|
||||
programs = {
|
||||
|
||||
starship = { enable = true; };
|
||||
|
||||
fish = {
|
||||
|
||||
enable = true;
|
||||
|
||||
loginShellInit = "";
|
||||
|
||||
interactiveShellInit = "";
|
||||
|
||||
plugins = [
|
||||
{
|
||||
name = "done";
|
||||
src = pkgs.fishPlugins.done.src;
|
||||
}
|
||||
{
|
||||
name = "puffer";
|
||||
src = pkgs.fishPlugins.puffer.src;
|
||||
}
|
||||
{
|
||||
name = "autopair";
|
||||
src = pkgs.fishPlugins.autopair.src;
|
||||
}
|
||||
];
|
||||
|
||||
shellAbbrs = {
|
||||
|
||||
## Nonspecific abbreviations
|
||||
reload = "exec fish";
|
||||
nv = "nvim";
|
||||
sc = "sudo systemctl";
|
||||
trc = "tree -C";
|
||||
rbu = "sudo systemctl reboot --firmware-setup";
|
||||
|
||||
## Nix abbreviations
|
||||
nd = "cd ${flakePath}";
|
||||
nxp = "nix-shell --command fish -p";
|
||||
|
||||
## Git abbreviations
|
||||
g = "git";
|
||||
ga = "git add";
|
||||
gaa = "git add --all";
|
||||
gau = "git add -u";
|
||||
gb = "git branch";
|
||||
gco = "git checkout";
|
||||
gc = "git commit";
|
||||
gcl = "git clone";
|
||||
gd = "git diff";
|
||||
gf = "git fetch";
|
||||
gl = "git log";
|
||||
gm = "git merge";
|
||||
gp = "git push";
|
||||
gpl = "git pull";
|
||||
gsw = "git switch";
|
||||
};
|
||||
|
||||
shellAliases = {
|
||||
git-master-to-main =
|
||||
"git branch -m master main && git push origin :master main:main";
|
||||
};
|
||||
|
||||
functions = {
|
||||
|
||||
fish_greeting = ''
|
||||
if type -q kitty-img
|
||||
printf '💖 hiya serenity '
|
||||
echo ' 'welcome to $hostname "~" 🏳️⚧️
|
||||
else
|
||||
echo 💖 hiya serenity welcome to $hostname "~" 🏳️⚧️
|
||||
end
|
||||
'';
|
||||
|
||||
gethost = ''
|
||||
if test -f /run/.containerenv
|
||||
function gethost
|
||||
grep -F name= /run/.containerenv | cut -d '"' -f2;
|
||||
end
|
||||
else if command -v hostnamectl &> /dev/null
|
||||
function gethost --wraps=hostnamectl --description 'alias gethost hostnamectl'
|
||||
hostnamectl --pretty;
|
||||
end
|
||||
else if command -v hostname &> /dev/null
|
||||
function gethost --wraps=hostname --description 'alias gethost hostname -s'
|
||||
hostname -s;
|
||||
end
|
||||
else
|
||||
function gethost --wraps=hostname --description 'alias gethost hostname'
|
||||
echo host_error;
|
||||
end
|
||||
end
|
||||
'';
|
||||
|
||||
mommy = ''
|
||||
set -g prev_status $status
|
||||
|
||||
# SHELL_MOMMYS_LITTLE - what to call you~ (default: "girl")
|
||||
# SHELL_MOMMYS_PRONOUNS - what pronouns mommy will use for themself~ (default: "her")
|
||||
# SHELL_MOMMYS_ROLES - what role mommy will have~ (default "mommy")
|
||||
|
||||
set -g COLORS_LIGHT_PINK '\e[38;5;217m'
|
||||
set -g COLORS_LIGHT_BLUE '\e[38;5;117m'
|
||||
set -g COLORS_FAINT '\e[2m'
|
||||
set -g COLORS_RESET '\e[0m'
|
||||
|
||||
set -g DEF_WORDS_LITTLE "girl"
|
||||
set -g DEF_WORDS_PRONOUNS "her"
|
||||
set -g DEF_WORDS_ROLES "mommy"
|
||||
set -g DEF_MOMMY_COLOR "$COLORS_LIGHT_PINK"
|
||||
set -g DEF_ONLY_NEGATIVE "false"
|
||||
|
||||
set -g NEGATIVE_RESPONSES \
|
||||
"do you need MOMMYS_ROLE's help~? ❤️" \
|
||||
"Don't give up, my love~ ❤️" \
|
||||
"Don't worry, MOMMYS_ROLE is here to help you~ ❤️" \
|
||||
"I believe in you, my sweet AFFECTIONATE_TERM~ ❤️" \
|
||||
"It's okay to make mistakes, my dear~ ❤️" \
|
||||
"just a little further, sweetie~ ❤️" \
|
||||
"Let's try again together, okay~? ❤️" \
|
||||
"MOMMYS_ROLE believes in you, and knows you can overcome this~ ❤️" \
|
||||
"MOMMYS_ROLE believes in you~ ❤️" \
|
||||
"MOMMYS_ROLE is always here for you, no matter what~ ❤️" \
|
||||
"MOMMYS_ROLE is here to help you through it~ ❤️" \
|
||||
"MOMMYS_ROLE is proud of you for trying, no matter what the outcome~ ❤️" \
|
||||
"MOMMYS_ROLE knows it's tough, but you can do it~ ❤️" \
|
||||
"MOMMYS_ROLE knows MOMMYS_PRONOUN little AFFECTIONATE_TERM can do better~ ❤️" \
|
||||
"MOMMYS_ROLE knows you can do it, even if it's tough~ ❤️" \
|
||||
"MOMMYS_ROLE knows you're feeling down, but you'll get through it~ ❤️" \
|
||||
"MOMMYS_ROLE knows you're trying your best~ ❤️" \
|
||||
"MOMMYS_ROLE loves you, and is here to support you~ ❤️" \
|
||||
"MOMMYS_ROLE still loves you no matter what~ ❤️" \
|
||||
"You're doing your best, and that's all that matters to MOMMYS_ROLE~ ❤️" \
|
||||
"MOMMYS_ROLE is always here to encourage you~ ❤️"
|
||||
|
||||
set -g POSITIVE_RESPONSES \
|
||||
"*pets your head*" \
|
||||
"awe, what a good AFFECTIONATE_TERM~\nMOMMYS_ROLE knew you could do it~ ❤️" \
|
||||
"good AFFECTIONATE_TERM~\nMOMMYS_ROLE's so proud of you~ ❤️" \
|
||||
"Keep up the good work, my love~ ❤️" \
|
||||
"MOMMYS_ROLE is proud of the progress you've made~ ❤️" \
|
||||
"MOMMYS_ROLE is so grateful to have you as MOMMYS_PRONOUN little AFFECTIONATE_TERM~ ❤️" \
|
||||
"I'm so proud of you, my love~ ❤️" \
|
||||
"MOMMYS_ROLE is so proud of you~ ❤️" \
|
||||
"MOMMYS_ROLE loves seeing MOMMYS_PRONOUN little AFFECTIONATE_TERM succeed~ ❤️" \
|
||||
"MOMMYS_ROLE thinks MOMMYS_PRONOUN little AFFECTIONATE_TERM earned a big hug~ ❤️" \
|
||||
"that's a good AFFECTIONATE_TERM~ ❤️" \
|
||||
"you did an amazing job, my dear~ ❤️" \
|
||||
"you're such a smart cookie~ ❤️"
|
||||
|
||||
# allow for overriding of default words (IF ANY SET)
|
||||
|
||||
if test -n "$SHELL_MOMMYS_LITTLE"
|
||||
set DEF_WORDS_LITTLE "$SHELL_MOMMYS_LITTLE"
|
||||
end
|
||||
if test -n "$SHELL_MOMMYS_PRONOUNS"
|
||||
set DEF_WORDS_PRONOUNS "$SHELL_MOMMYS_PRONOUNS"
|
||||
end
|
||||
if test -n "$SHELL_MOMMYS_ROLES"
|
||||
set DEF_WORDS_ROLES "$SHELL_MOMMYS_ROLES"
|
||||
end
|
||||
if test -n "$SHELL_MOMMYS_COLOR"
|
||||
set DEF_MOMMY_COLOR "$SHELL_MOMMYS_COLOR"
|
||||
end
|
||||
# allow overriding to true
|
||||
if test "$SHELL_MOMMYS_ONLY_NEGATIVE" = "true"
|
||||
set DEF_ONLY_NEGATIVE "true"
|
||||
end
|
||||
# if the array is set for positive/negative responses, overwrite it
|
||||
if test -n "$SHELL_MOMMYS_POSITIVE_RESPONSES"
|
||||
set POSITIVE_RESPONSES "$SHELL_MOMMYS_POSITIVE_RESPONSES"
|
||||
end
|
||||
if test -n "$SHELL_MOMMYS_NEGATIVE_RESPONSES"
|
||||
set NEGATIVE_RESPONSES "$SHELL_MOMMYS_NEGATIVE_RESPONSES"
|
||||
end
|
||||
|
||||
# split a string on forward slashes and return a random element
|
||||
function pick_word
|
||||
random choice (string split -n / $argv)
|
||||
end
|
||||
|
||||
function pick_response # given a response type, pick an entry from the array
|
||||
|
||||
if test $argv[1] = "positive"
|
||||
set element (random choice $POSITIVE_RESPONSES)
|
||||
else if test $argv[1] = "negative"
|
||||
set element (random choice $NEGATIVE_RESPONSES)
|
||||
else
|
||||
echo "Invalid response type: $argv[1]"
|
||||
exit 1
|
||||
end
|
||||
|
||||
# Return the selected response
|
||||
echo "$element"
|
||||
|
||||
end
|
||||
|
||||
function sub_terms # given a response, sub in the appropriate terms
|
||||
set -l response $argv
|
||||
# pick_word for each term
|
||||
set -l affectionate_term (pick_word $DEF_WORDS_LITTLE)
|
||||
set -l pronoun (pick_word $DEF_WORDS_PRONOUNS)
|
||||
set -l role (pick_word $DEF_WORDS_ROLES)
|
||||
# sub in the terms, store in variable
|
||||
set -l response (echo "$response" | string replace "AFFECTIONATE_TERM" "$affectionate_term")
|
||||
set -l response (echo "$response" | string replace "MOMMYS_PRONOUN" "$pronoun")
|
||||
set -l response (echo "$response" | string replace "MOMMYS_ROLE" "$role")
|
||||
# we have string literal newlines in the response, so we need to printf it out
|
||||
# print faint and colorcode
|
||||
echo -e "$DEF_MOMMY_COLOR$response$COLORS_RESET"
|
||||
end
|
||||
|
||||
function success
|
||||
if test "$DEF_ONLY_NEGATIVE" = "true"
|
||||
return 0
|
||||
end
|
||||
# pick_response for the response type
|
||||
set -l response (pick_response "positive")
|
||||
sub_terms "$response" >&2
|
||||
return 0
|
||||
end
|
||||
|
||||
function failure
|
||||
set -l response (pick_response "negative")
|
||||
sub_terms "$response" >&2
|
||||
return $prev_status
|
||||
end
|
||||
|
||||
if test $prev_status -eq 0
|
||||
success
|
||||
else
|
||||
failure
|
||||
end
|
||||
'';
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
38
old/home/terminal/git.nix
Executable file
38
old/home/terminal/git.nix
Executable file
|
|
@ -0,0 +1,38 @@
|
|||
{ pkgs, config, ... }:
|
||||
|
||||
{
|
||||
programs.git = {
|
||||
# Enable git with home-manager
|
||||
enable = true;
|
||||
settings = {
|
||||
user = {
|
||||
# User details
|
||||
name = "serenity-F";
|
||||
email = "serenity-F@noreply.codeberg.org";
|
||||
# Path to user signing key
|
||||
signingKey = "/home/serenity/.ssh/id_ed25519.pub";
|
||||
};
|
||||
|
||||
# Use SSH keys for auth
|
||||
gpg.format = "ssh";
|
||||
commit.gpgSign = true;
|
||||
|
||||
# Use "main" as default branch
|
||||
init.defaultBranch = "main";
|
||||
# Automatically track remote branch
|
||||
push.autoSetupRemote = true;
|
||||
|
||||
};
|
||||
|
||||
## OLD SETTINGS
|
||||
#userName = "serenity-F";
|
||||
#userEmail = "serenity-F@noreply.codeberg.org";
|
||||
#extraConfig = {
|
||||
#init.defaultBranch = "main";
|
||||
#gpg.format = "ssh";
|
||||
#commit.gpgSign = true;
|
||||
#user.signingKey = "/home/serenity/.ssh/id_ed25519.pub";
|
||||
#push.autoSetupRemote = true;
|
||||
#};
|
||||
};
|
||||
}
|
||||
82
old/home/terminal/kitty.nix
Executable file
82
old/home/terminal/kitty.nix
Executable file
|
|
@ -0,0 +1,82 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
|
||||
home = { packages = with pkgs; [ kitty ]; };
|
||||
|
||||
#programs.alacritty.enable = true;
|
||||
|
||||
programs.fzf = {
|
||||
# CLI fuzzy find
|
||||
enable = true;
|
||||
enableFishIntegration = true;
|
||||
};
|
||||
|
||||
## Enables kitty via home-manager
|
||||
programs.kitty = {
|
||||
enable = true;
|
||||
|
||||
## Declares "spleen" as the font
|
||||
font = {
|
||||
name = "spleen 32x64";
|
||||
size = 12;
|
||||
};
|
||||
|
||||
## Unsure if this is needed, but it should enhance fish integration ?
|
||||
shellIntegration.enableFishIntegration = true;
|
||||
|
||||
settings = {
|
||||
|
||||
## This enables fish as the default shell
|
||||
shell = "${pkgs.fish}/bin/fish";
|
||||
|
||||
## Misc.
|
||||
url_style = "curly";
|
||||
scrollback_lines = 10000;
|
||||
disable_ligatures = "never";
|
||||
enable_audio_bell = false;
|
||||
update_check_interval = 0;
|
||||
confirm_os_window_close = "0";
|
||||
|
||||
## Cursor
|
||||
cursor_shape = "Underline";
|
||||
cursor_underline_thickness = 1;
|
||||
cursor_shape_unfocused = "unchanged";
|
||||
|
||||
## Window
|
||||
window_padding_width = 5;
|
||||
initial_window_width = 1200;
|
||||
initial_window_height = 600;
|
||||
remember_window_size = "no";
|
||||
|
||||
## Colours
|
||||
cursor = "#" + config.theme.colors.fg;
|
||||
cursor_text_color = "#" + config.theme.colors.bg;
|
||||
background = "#" + config.theme.colors.bg;
|
||||
background_blur = 2;
|
||||
background_opacity = "0.82";
|
||||
selection_foreground = "#" + config.theme.colors.primary-fg;
|
||||
selection_background = "#" + config.theme.colors.primary-bg;
|
||||
url_color = "#" + config.theme.colors.primary-fg;
|
||||
|
||||
## Declared in home/resources/themes/${themeName}
|
||||
color0 = "#" + config.theme.colors.color0;
|
||||
color8 = "#" + config.theme.colors.color8;
|
||||
color1 = "#" + config.theme.colors.color1;
|
||||
color9 = "#" + config.theme.colors.color9;
|
||||
color2 = "#" + config.theme.colors.color2;
|
||||
color10 = "#" + config.theme.colors.color10;
|
||||
color3 = "#" + config.theme.colors.color3;
|
||||
color11 = "#" + config.theme.colors.color11;
|
||||
color4 = "#" + config.theme.colors.color4;
|
||||
color12 = "#" + config.theme.colors.color12;
|
||||
color5 = "#" + config.theme.colors.color5;
|
||||
color13 = "#" + config.theme.colors.color13;
|
||||
color6 = "#" + config.theme.colors.color6;
|
||||
color14 = "#" + config.theme.colors.color14;
|
||||
color7 = "#" + config.theme.colors.color7;
|
||||
color15 = "#" + config.theme.colors.color15;
|
||||
|
||||
};
|
||||
};
|
||||
}
|
||||
143
old/home/terminal/neofetch.nix
Executable file
143
old/home/terminal/neofetch.nix
Executable file
|
|
@ -0,0 +1,143 @@
|
|||
{ options, lib, pkgs, config, ... }:
|
||||
|
||||
{
|
||||
|
||||
home.packages = with pkgs; [ hyfetch neofetch ];
|
||||
|
||||
xdg.configFile."neofetch/ascii.txt".text = ''
|
||||
''${c6}
|
||||
|
||||
@@
|
||||
@@@
|
||||
@@@
|
||||
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
|
||||
|
||||
|
||||
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
|
||||
@@@
|
||||
@@@
|
||||
@@
|
||||
|
||||
'';
|
||||
|
||||
xdg.configFile."neofetch/config.conf".text = ''
|
||||
|
||||
print_info() {
|
||||
prin "\n"
|
||||
prin "\n \n OS" "SerenityOS"
|
||||
info "\n \n Distro" distro
|
||||
info "\n \n Kernel" kernel
|
||||
info "\n \n Packages" packages
|
||||
info "\n \n Desktop" de
|
||||
#prin "\n \n Desktop" "Hyprland (wayland)"
|
||||
info "\n \n Shell" shell
|
||||
#prin "\n \n Shell" "Fish"
|
||||
info "\n \n Editor" editor
|
||||
#prin "\n \n Editor" "Neovim"
|
||||
info "\n \n Terminal" term
|
||||
#prin "\n \n Terminal" "Kitty"
|
||||
info "\n \n Terminal Font" term_font
|
||||
#prin "\n \n Terminal Font" "Spleen"
|
||||
#info "\n \n Model" model
|
||||
#prin "\n \n Motherboard" "MSI Z97 G3"
|
||||
prin "\n \n Device" "Hades"
|
||||
info "\n \n Processor" cpu
|
||||
info "\n \n Memory" memory
|
||||
info "\n \n GPU" gpu
|
||||
#prin "\n \n Graphics" "Radeon RX 5700XT"
|
||||
#info "\n \n Resolution" resolution
|
||||
#info "\n \n Uptime" uptime
|
||||
prin "\n"
|
||||
#prin "\n"
|
||||
|
||||
}
|
||||
|
||||
reset="\033[0m"
|
||||
gray="\033[1;90m"
|
||||
red="\033[1;31m"
|
||||
green="\033[1;32m"
|
||||
yellow="\033[1;33m"
|
||||
blue="\033[1;34m"
|
||||
magenta="\033[1;35m"
|
||||
cyan="\033[1;36m"
|
||||
white="\033[1;37m"
|
||||
|
||||
cl0="''${gray}"
|
||||
cl1="''${red}"
|
||||
cl2="''${green}"
|
||||
cl3="''${yellow}"
|
||||
cl4="''${blue}"
|
||||
cl5="''${magenta}"
|
||||
cl6="''${cyan}"
|
||||
cl7="''${white}"
|
||||
|
||||
title_fqdn="off"
|
||||
kernel_shorthand="on"
|
||||
distro_shorthand="on"
|
||||
os_arch="off"
|
||||
uptime_shorthand="on"
|
||||
memory_percent="off"
|
||||
memory_unit="mib"
|
||||
mem_precision=0
|
||||
package_managers="on"
|
||||
shell_path="off"
|
||||
shell_version="on"
|
||||
speed_type="bios_limit"
|
||||
speed_shorthand="on"
|
||||
cpu_brand="off"
|
||||
cpu_speed="on"
|
||||
cpu_cores="off"
|
||||
cpu_temp="off"
|
||||
gpu_brand="off"
|
||||
gpu_type="dedicated"
|
||||
refresh_rate="off"
|
||||
gtk_shorthand="on"
|
||||
gtk2="on"
|
||||
gtk3="on"
|
||||
de_version="on"
|
||||
disk_show=('/storage/emulated' '/' '/server')
|
||||
disk_subtitle="none"
|
||||
disk_percent="on"
|
||||
music_player="auto"
|
||||
song_format="%artist% - %album% - %title%"
|
||||
song_shorthand="off"
|
||||
mpc_args=()
|
||||
colors=(${toString config.theme.colors.primary-ansi-16-number} 1 ${
|
||||
toString config.theme.colors.primary-ansi-16-number
|
||||
} ${toString config.theme.colors.primary-ansi-16-number} 7)
|
||||
bold="on"
|
||||
underline_enabled="on"
|
||||
underline_char="-"
|
||||
separator=":"
|
||||
block_range=(0 15)
|
||||
color_blocks="on"
|
||||
block_width=3
|
||||
block_height=1
|
||||
col_offset="auto"
|
||||
bar_char_elapsed="-"
|
||||
bar_char_total="="
|
||||
bar_border="on"
|
||||
bar_length=15
|
||||
bar_color_elapsed="distro"
|
||||
bar_color_total="distro"
|
||||
cpu_display="off"
|
||||
memory_display="on"
|
||||
battery_display="off"
|
||||
disk_display="off"
|
||||
image_backend="ascii"
|
||||
image_source="$HOME/.config/neofetch/ascii.txt"
|
||||
ascii_distro="auto"
|
||||
ascii_colors=(distro)
|
||||
ascii_bold="on"
|
||||
image_loop="off"
|
||||
thumbnail_dir="''${XDG_CACHE_HOME:-''${HOME}/.cache}/thumbnails/neofetch"
|
||||
crop_mode="normal"
|
||||
crop_offset="center"
|
||||
image_size="auto"
|
||||
gap=2
|
||||
yoffset=0
|
||||
xoffset=0
|
||||
background_color=
|
||||
stdout="off"
|
||||
'';
|
||||
}
|
||||
57
old/home/terminal/nvim/default.nix
Executable file
57
old/home/terminal/nvim/default.nix
Executable file
|
|
@ -0,0 +1,57 @@
|
|||
{ inputs, ... }: {
|
||||
|
||||
imports = [
|
||||
|
||||
inputs.nixvim.homeModules.nixvim # uses the module channel from `flake.nix`
|
||||
./keymaps.nix # keybinds
|
||||
|
||||
## Neovim plugins
|
||||
./plugins/utils.nix
|
||||
./plugins/ui.nix
|
||||
./plugins/lsp.nix
|
||||
./plugins/markdown.nix
|
||||
./plugins/telescope.nix
|
||||
];
|
||||
|
||||
## Enables nixvim
|
||||
programs = {
|
||||
|
||||
nixvim = {
|
||||
enable = true;
|
||||
globals = { mapleader = " "; };
|
||||
|
||||
opts = {
|
||||
updatetime = 50; # Faster completion
|
||||
number = true;
|
||||
relativenumber = true;
|
||||
autoindent = true;
|
||||
clipboard = "unnamed,unnamedplus";
|
||||
expandtab = true;
|
||||
tabstop = 2;
|
||||
softtabstop = 2;
|
||||
shiftwidth = 2;
|
||||
smartindent = true;
|
||||
breakindent = true;
|
||||
ignorecase = true;
|
||||
incsearch = true;
|
||||
hlsearch = true;
|
||||
smartcase = true;
|
||||
wildmode = "list:longest";
|
||||
completeopt = [ "menuone" "noselect" "noinsert" ];
|
||||
signcolumn = "yes";
|
||||
cursorline = false;
|
||||
scrolloff = 8;
|
||||
mouse = "a";
|
||||
termguicolors = true;
|
||||
showmode = false;
|
||||
wrap = false;
|
||||
swapfile = false;
|
||||
undofile = true;
|
||||
conceallevel = 3;
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
310
old/home/terminal/nvim/keymaps.nix
Executable file
310
old/home/terminal/nvim/keymaps.nix
Executable file
|
|
@ -0,0 +1,310 @@
|
|||
{
|
||||
programs.nixvim = {
|
||||
plugins.which-key = {
|
||||
enable = true;
|
||||
settings = {
|
||||
delay = 600;
|
||||
icons = {
|
||||
breadcrumb = "»";
|
||||
group = "+";
|
||||
separator = ""; # ➜
|
||||
mappings = false;
|
||||
};
|
||||
spec = [
|
||||
# General Mappings
|
||||
{
|
||||
__unkeyed-1 = "<leader>c";
|
||||
mode = [ "n" "v" ];
|
||||
group = "+code";
|
||||
}
|
||||
{
|
||||
__unkeyed-1 = "<leader>d";
|
||||
mode = [ "n" "v" ];
|
||||
group = "+debug";
|
||||
}
|
||||
{
|
||||
__unkeyed-1 = "<leader>s";
|
||||
mode = "n";
|
||||
group = "+search";
|
||||
}
|
||||
{
|
||||
__unkeyed-1 = "<leader>m";
|
||||
mode = "n";
|
||||
group = "+markdown";
|
||||
}
|
||||
{
|
||||
__unkeyed-1 = "<leader>t";
|
||||
mode = "n";
|
||||
group = "+trouble";
|
||||
}
|
||||
{
|
||||
__unkeyed-1 = "<leader>u";
|
||||
mode = "n";
|
||||
group = "+ui";
|
||||
}
|
||||
{
|
||||
__unkeyed-1 = "<leader>w";
|
||||
mode = "n";
|
||||
group = "+windows";
|
||||
}
|
||||
{
|
||||
__unkeyed-1 = "<leader>h";
|
||||
mode = "n";
|
||||
group = "+harpoon";
|
||||
}
|
||||
];
|
||||
win = {
|
||||
border = "rounded";
|
||||
wo.winblend = 0;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
keymaps = [
|
||||
# General Mappings
|
||||
{
|
||||
key = "<leader>e";
|
||||
action = "<cmd>Oil --float<cr>";
|
||||
options.desc = "Oil";
|
||||
}
|
||||
{
|
||||
key = "-";
|
||||
action = "<cmd>Oil<cr>";
|
||||
options.desc = "Oil";
|
||||
}
|
||||
{
|
||||
key = "<leader>E";
|
||||
action = "<cmd>Neotree toggle<cr>";
|
||||
options.desc = "Neotree";
|
||||
}
|
||||
|
||||
{
|
||||
key = "s";
|
||||
action = "<cmd>lua require('flash').jump()<cr>";
|
||||
options.desc = "Flash";
|
||||
}
|
||||
{
|
||||
key = "K";
|
||||
action = "<cmd>lua vim.lsp.buf.hover()<cr>";
|
||||
options.desc = "LSP Hover";
|
||||
}
|
||||
|
||||
{
|
||||
key = "<C-h>";
|
||||
action = "<cmd>TmuxNavigateLeft<cr>";
|
||||
}
|
||||
{
|
||||
key = "<C-j>";
|
||||
action = "<cmd>TmuxNavigateDown<cr>";
|
||||
}
|
||||
{
|
||||
key = "<C-k>";
|
||||
action = "<cmd>TmuxNavigateUp<cr>";
|
||||
}
|
||||
{
|
||||
key = "<C-l>";
|
||||
action = "<cmd>TmuxNavigateRight<cr>";
|
||||
}
|
||||
|
||||
# UI
|
||||
{
|
||||
key = "<leader>uz";
|
||||
action = "<cmd>ZenMode<cr>";
|
||||
options.desc = "Toggle ZenMode";
|
||||
}
|
||||
{
|
||||
key = "<leader>uw";
|
||||
action = "<cmd>set wrap!<cr>";
|
||||
options.desc = "Toggle word wrapping";
|
||||
}
|
||||
{
|
||||
key = "<leader>ul";
|
||||
action = "<cmd>set linebreak!<cr>";
|
||||
options.desc = "Toggle linebreak";
|
||||
}
|
||||
{
|
||||
key = "<leader>us";
|
||||
action = "<cmd>set spell!<cr>";
|
||||
options.desc = "Toggle spellcheck";
|
||||
}
|
||||
{
|
||||
key = "<leader>uc";
|
||||
action = "<cmd>set cursorline!<cr>";
|
||||
options.desc = "Toggle cursorline";
|
||||
}
|
||||
{
|
||||
key = "<leader>un";
|
||||
action = "<cmd>set number!<cr>";
|
||||
options.desc = "Toggle line numbers";
|
||||
}
|
||||
{
|
||||
key = "<leader>ur";
|
||||
action = "<cmd>set relativenumber!<cr>";
|
||||
options.desc = "Toggle relative line numbers";
|
||||
}
|
||||
{
|
||||
key = "<leader>ut";
|
||||
action = "<cmd>set showtabline=2<cr>";
|
||||
options.desc = "Show tabline";
|
||||
}
|
||||
{
|
||||
key = "<leader>uT";
|
||||
action = "<cmd>set showtabline=0<cr>";
|
||||
options.desc = "Hide tabline";
|
||||
}
|
||||
|
||||
# Search
|
||||
{
|
||||
key = "<leader> ";
|
||||
action = "<cmd>lua require('telescope.builtin').find_files()<cr>";
|
||||
options.desc = "Telescope";
|
||||
}
|
||||
{
|
||||
key = "<leader>sg";
|
||||
action = "<cmd>lua require('telescope.builtin').live_grep()<cr>";
|
||||
options.desc = "Livegrep";
|
||||
}
|
||||
{
|
||||
key = "<leader>sf";
|
||||
action = "<cmd>lua require('telescope.builtin').find_files()<cr>";
|
||||
options.desc = "Find Files";
|
||||
}
|
||||
{
|
||||
key = "<leader>sb";
|
||||
action = "<cmd>lua require('telescope.builtin').buffers()<cr>";
|
||||
options.desc = "Buffers";
|
||||
}
|
||||
{
|
||||
key = "<leader>sh";
|
||||
action = "<cmd>lua require('telescope.builtin').help_tags()<cr>";
|
||||
options.desc = "Help Tags";
|
||||
}
|
||||
{
|
||||
key = "<leader>sc";
|
||||
action = "<cmd>lua require('telescope.builtin').commands()<cr>";
|
||||
options.desc = "Commands";
|
||||
}
|
||||
{
|
||||
key = "<leader>sm";
|
||||
action = "<cmd>lua require('telescope.builtin').marks()<cr>";
|
||||
options.desc = "Marks";
|
||||
}
|
||||
{
|
||||
key = "<leader>so";
|
||||
action = "<cmd>lua require('telescope.builtin').oldfiles()<cr>";
|
||||
options.desc = "Oldfiles";
|
||||
}
|
||||
{
|
||||
key = "<leader>ss";
|
||||
action = "<cmd>lua require('telescope.builtin').spell_suggest()<cr>";
|
||||
options.desc = "Spell Suggest";
|
||||
}
|
||||
{
|
||||
key = "<leader>sr";
|
||||
action = "<cmd>:noh<return><esc>";
|
||||
options.desc = "Reset search";
|
||||
}
|
||||
{
|
||||
key = "<leader>st";
|
||||
action = "<cmd>TodoTelescope<cr>";
|
||||
options.desc = "Todos";
|
||||
}
|
||||
|
||||
# Trouble
|
||||
{
|
||||
key = "<leader>tx";
|
||||
action = "<cmd>Trouble diagnostics toggle<cr>";
|
||||
options.desc = "Diagnostics (Trouble)";
|
||||
}
|
||||
{
|
||||
key = "<leader>tX";
|
||||
action = "<cmd>Trouble diagnostics toggle filter.buf=0<cr>";
|
||||
options.desc = "Buffer Diagnostics (Trouble)";
|
||||
}
|
||||
{
|
||||
key = "<leader>ts";
|
||||
action = "<cmd>Trouble symbols toggle focus=false<cr>";
|
||||
options.desc = "Symbols (Trouble)";
|
||||
}
|
||||
{
|
||||
key = "<leader>tl";
|
||||
action = "<cmd>Trouble lsp toggle focus=false win.position=right<cr>";
|
||||
options.desc = "LSP Definitions / references / ... (Trouble)";
|
||||
}
|
||||
{
|
||||
key = "<leader>tL";
|
||||
action = "<cmd>Trouble loclist toggle<cr>";
|
||||
options.desc = "Location List (Trouble)";
|
||||
}
|
||||
{
|
||||
key = "<leader>tQ";
|
||||
action = "<cmd>Trouble qflist toggle<cr>";
|
||||
options.desc = "Quickfix List (Trouble)";
|
||||
}
|
||||
|
||||
# Windows
|
||||
{
|
||||
key = "<leader>ws";
|
||||
action = "<cmd>split<cr>";
|
||||
options.desc = "Split";
|
||||
}
|
||||
{
|
||||
key = "<leader>wv";
|
||||
action = "<cmd>vsplit<cr>";
|
||||
options.desc = "VSplit";
|
||||
}
|
||||
{
|
||||
key = "<leader>wd";
|
||||
action = "<cmd>close<cr>";
|
||||
options.desc = "Close";
|
||||
}
|
||||
|
||||
# Code
|
||||
{
|
||||
key = "<leader>cd";
|
||||
action = "<cmd>lua vim.lsp.buf.definition()<cr>";
|
||||
options.desc = "LSP Definition";
|
||||
}
|
||||
{
|
||||
key = "<leader>cr";
|
||||
action = "<cmd>lua vim.lsp.buf.references()<cr>";
|
||||
options.desc = "LSP References";
|
||||
}
|
||||
{
|
||||
key = "<leader>ct";
|
||||
action = "<cmd>lua vim.lsp.buf.type_definition()<cr>";
|
||||
options.desc = "LSP Type Definition";
|
||||
}
|
||||
{
|
||||
key = "<leader>ca";
|
||||
action = "<cmd>lua vim.lsp.buf.code_action()<cr>";
|
||||
options.desc = "LSP Code Action";
|
||||
}
|
||||
{
|
||||
key = "<leader>cf";
|
||||
action = "<cmd>lua vim.lsp.buf.formatting()<cr>";
|
||||
options.desc = "LSP Formatting";
|
||||
}
|
||||
{
|
||||
key = "<leader>cn";
|
||||
action = "<cmd>lua vim.lsp.diagnostic.goto_next()<cr>";
|
||||
options.desc = "LSP Next Diagnostic";
|
||||
}
|
||||
{
|
||||
key = "<leader>cp";
|
||||
action = "<cmd>lua vim.lsp.diagnostic.goto_prev()<cr>";
|
||||
options.desc = "LSP Previous Diagnostic";
|
||||
}
|
||||
{
|
||||
key = "<leader>cu";
|
||||
action = "<cmd>lua require('dapui').toggle()<CR>";
|
||||
options.desc = "Toggle Dapui";
|
||||
}
|
||||
{
|
||||
key = "<leader>cb";
|
||||
action = "<cmd>lua require('dap').toggle_breakpoint()<CR>";
|
||||
options.desc = "Toggle breakpoint";
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
||||
169
old/home/terminal/nvim/plugins/lsp.nix
Executable file
169
old/home/terminal/nvim/plugins/lsp.nix
Executable file
|
|
@ -0,0 +1,169 @@
|
|||
{
|
||||
programs.nixvim.plugins = {
|
||||
|
||||
## Misc. LSP related plugins
|
||||
web-devicons.enable = true;
|
||||
bufferline.enable = true;
|
||||
|
||||
## Language syntax processing
|
||||
lsp-format.enable = true;
|
||||
lsp = {
|
||||
enable = true;
|
||||
servers = {
|
||||
html.enable = true; # HTML
|
||||
cssls.enable = true; # CSS
|
||||
marksman.enable = true; # Markdown
|
||||
bashls.enable = true; # Bash
|
||||
fish_lsp.enable = true; # Fish
|
||||
pyright.enable = true; # Python
|
||||
rls.enable = true; # Rust
|
||||
hls = {
|
||||
enable = true; # Haskell
|
||||
installGhc = true; # GHC
|
||||
};
|
||||
nixd = {
|
||||
enable = true; # Nix
|
||||
extraOptions = { expr = "import <nixpkgs> {}"; }; # uhhh
|
||||
};
|
||||
};
|
||||
keymaps.lspBuf = {
|
||||
"gd" = "definition";
|
||||
"gD" = "references";
|
||||
"gt" = "type_definition";
|
||||
"gi" = "implementation";
|
||||
"K" = "hover";
|
||||
};
|
||||
};
|
||||
none-ls = {
|
||||
enable = true;
|
||||
sources = {
|
||||
diagnostics = {
|
||||
golangci_lint.enable = true;
|
||||
statix.enable = true;
|
||||
};
|
||||
formatting = {
|
||||
tidy.enable = true;
|
||||
markdownlint.enable = true;
|
||||
shfmt.enable = true;
|
||||
shellharden.enable = true;
|
||||
nixfmt.enable = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
## Completion
|
||||
luasnip.enable = true;
|
||||
cmp-buffer = { enable = true; };
|
||||
cmp-emoji = { enable = true; };
|
||||
cmp-nvim-lsp = { enable = true; };
|
||||
cmp-path = { enable = true; };
|
||||
cmp_luasnip = { enable = true; };
|
||||
|
||||
cmp = {
|
||||
enable = true;
|
||||
settings = {
|
||||
snippet.expand =
|
||||
"function(args) require('luasnip').lsp_expand(args.body) end";
|
||||
sources = [
|
||||
{ name = "nvim_lsp"; }
|
||||
{ name = "luasnip"; }
|
||||
{
|
||||
name = "buffer";
|
||||
option.get_bufnrs.__raw = "vim.api.nvim_list_bufs";
|
||||
}
|
||||
{ name = "nvim_lua"; }
|
||||
{ name = "mkdnflow"; }
|
||||
{ name = "path"; }
|
||||
];
|
||||
|
||||
formatting = {
|
||||
fields = [ "abbr" "kind" "menu" ];
|
||||
format =
|
||||
# lua
|
||||
''
|
||||
function(_, item)
|
||||
local icons = {
|
||||
Namespace = "",
|
||||
Text = "",
|
||||
Method = "",
|
||||
Function = "",
|
||||
Constructor = "",
|
||||
Field = "",
|
||||
Variable = "",
|
||||
Class = "",
|
||||
Interface = "",
|
||||
Module = "",
|
||||
Property = "",
|
||||
Unit = "",
|
||||
Value = "",
|
||||
Enum = "",
|
||||
Keyword = "",
|
||||
Snippet = "",
|
||||
Color = "",
|
||||
File = "",
|
||||
Reference = "",
|
||||
Folder = "",
|
||||
EnumMember = "",
|
||||
Constant = "",
|
||||
Struct = "",
|
||||
Event = "",
|
||||
Operator = "",
|
||||
TypeParameter = "",
|
||||
Table = "",
|
||||
Object = "",
|
||||
Tag = "",
|
||||
Array = "[]",
|
||||
Boolean = "",
|
||||
Number = "",
|
||||
Null = "",
|
||||
String = "",
|
||||
Calendar = "",
|
||||
Watch = "",
|
||||
Package = "",
|
||||
Copilot = "",
|
||||
Codeium = "",
|
||||
TabNine = "",
|
||||
}
|
||||
|
||||
local icon = icons[item.kind] or ""
|
||||
item.kind = string.format("%s %s", icon, item.kind or "")
|
||||
return item
|
||||
end
|
||||
'';
|
||||
};
|
||||
|
||||
window = {
|
||||
completion = {
|
||||
winhighlight =
|
||||
"FloatBorder:CmpBorder,Normal:CmpPmenu,Search:PmenuSel";
|
||||
scrollbar = false;
|
||||
sidePadding = 0;
|
||||
border = [ "╭" "─" "╮" "│" "╯" "─" "╰" "│" ];
|
||||
};
|
||||
|
||||
documentation = {
|
||||
border = [ "╭" "─" "╮" "│" "╯" "─" "╰" "│" ];
|
||||
winhighlight =
|
||||
"FloatBorder:CmpBorder,Normal:CmpPmenu,Search:PmenuSel";
|
||||
};
|
||||
};
|
||||
|
||||
mapping = {
|
||||
"<C-n>" = "cmp.mapping.select_next_item()";
|
||||
"<C-p>" = "cmp.mapping.select_prev_item()";
|
||||
"<Down>" = "cmp.mapping.select_next_item()";
|
||||
"<Up>" = "cmp.mapping.select_prev_item()";
|
||||
"<C-j>" = "cmp.mapping.select_next_item()";
|
||||
"<C-k>" = "cmp.mapping.select_prev_item()";
|
||||
"<C-d>" = "cmp.mapping.scroll_docs(-4)";
|
||||
"<C-f>" = "cmp.mapping.scroll_docs(4)";
|
||||
"<C-Space>" = "cmp.mapping.complete()";
|
||||
"<C-e>" = "cmp.mapping.close()";
|
||||
"<CR>" =
|
||||
"cmp.mapping.confirm({ behavior = cmp.ConfirmBehavior.Insert, select = true })";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
}
|
||||
190
old/home/terminal/nvim/plugins/markdown.nix
Executable file
190
old/home/terminal/nvim/plugins/markdown.nix
Executable file
|
|
@ -0,0 +1,190 @@
|
|||
# The render-markdown.nvim plugin is a plugin that renders markdown files in a neovim in a more readable way.
|
||||
{ config, ... }:
|
||||
let
|
||||
accent = "#${config.theme.colors.color15}";
|
||||
accent-alt = "#${config.theme.colors.color6}";
|
||||
muted = "#${config.theme.colors.secondary-bg}";
|
||||
background = "#${config.theme.colors.primary-bg}";
|
||||
in {
|
||||
|
||||
programs.nixvim = {
|
||||
plugins.mkdnflow = {
|
||||
enable = true;
|
||||
settings = {
|
||||
modules = { conceal = false; };
|
||||
to_do.symbols = [ " " "-" "x" "!" "/" ];
|
||||
mappings = {
|
||||
MkdnCreateLink = false;
|
||||
MkdnCreateLinkFromClipboard = {
|
||||
key = "<leader>ml";
|
||||
modes = [ "n" "v" ];
|
||||
};
|
||||
MkdnDecreaseHeading = {
|
||||
key = "<leader>m-";
|
||||
modes = "n";
|
||||
};
|
||||
MkdnDestroyLink = false;
|
||||
MkdnEnter = {
|
||||
key = "<CR>";
|
||||
modes = [ "v" ];
|
||||
};
|
||||
MkdnExtendList = false;
|
||||
MkdnFoldSection = {
|
||||
key = "<leader>mf";
|
||||
modes = "n";
|
||||
};
|
||||
MkdnUnfoldSection = {
|
||||
key = "<leader>mF";
|
||||
modes = "n";
|
||||
};
|
||||
MkdnFollowLink = {
|
||||
key = "gd";
|
||||
modes = "n";
|
||||
};
|
||||
MkdnGoBack = false;
|
||||
MkdnGoForward = false;
|
||||
MkdnIncreaseHeading = {
|
||||
key = "<leader>m+";
|
||||
modes = "n";
|
||||
};
|
||||
MkdnMoveSource = false;
|
||||
MkdnNewListItem = false;
|
||||
MkdnNewListItemAboveInsert = {
|
||||
key = "O";
|
||||
modes = "n";
|
||||
};
|
||||
MkdnNewListItemBelowInsert = {
|
||||
key = "o";
|
||||
modes = "n";
|
||||
};
|
||||
MkdnNextHeading = {
|
||||
key = "<leader>m#";
|
||||
modes = "n";
|
||||
};
|
||||
MkdnNextLink = false;
|
||||
MkdnPrevLink = false;
|
||||
MkdnPrevHeading = {
|
||||
key = "<leader>m*";
|
||||
modes = "n";
|
||||
};
|
||||
MkdnSTab = false;
|
||||
MkdnTab = false;
|
||||
MkdnTableNewColAfter = {
|
||||
key = "<leader>mc";
|
||||
modes = "n";
|
||||
};
|
||||
MkdnTableNewColBefore = {
|
||||
key = "<leader>mC";
|
||||
modes = "n";
|
||||
};
|
||||
MkdnTableNewRowAbove = {
|
||||
key = "<leader>mR";
|
||||
modes = "n";
|
||||
};
|
||||
MkdnTableNewRowBelow = {
|
||||
key = "<leader>mr";
|
||||
modes = "n";
|
||||
};
|
||||
MkdnTableNextCell = {
|
||||
key = "<S-Tab>";
|
||||
modes = "n";
|
||||
};
|
||||
MkdnTableNextRow = false;
|
||||
MkdnTablePrevCell = {
|
||||
key = "<S-Tab>";
|
||||
modes = "n";
|
||||
};
|
||||
MkdnTablePrevRow = false;
|
||||
MkdnToggleToDo = {
|
||||
key = "<C-Space>";
|
||||
modes = [ "n" "v" ];
|
||||
};
|
||||
MkdnUpdateNumbering = {
|
||||
key = "<leader>mn";
|
||||
modes = "n";
|
||||
};
|
||||
MkdnYankAnchorLink = {
|
||||
key = "ya";
|
||||
modes = "n";
|
||||
};
|
||||
MkdnYankFileAnchorLink = {
|
||||
key = "yfa";
|
||||
modes = "n";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
extraFiles = {
|
||||
"after/ftplugin/markdown.lua".text = ''
|
||||
vim.bo.tabstop = 2
|
||||
vim.bo.shiftwidth = 2
|
||||
vim.bo.expandtab = true
|
||||
'';
|
||||
};
|
||||
highlight = {
|
||||
RenderMarkdownBg.bg = background;
|
||||
RenderMarkdownH1.fg = accent;
|
||||
RenderMarkdownH2.fg = accent;
|
||||
RenderMarkdownH3.fg = accent-alt;
|
||||
RenderMarkdownH4.fg = accent-alt;
|
||||
RenderMarkdownH5.fg = accent-alt;
|
||||
RenderMarkdownH6.fg = accent-alt;
|
||||
RenderMarkdownTodo.fg = muted;
|
||||
RenderMarkdownWarning.fg = accent;
|
||||
};
|
||||
plugins.headlines = {
|
||||
enable = true;
|
||||
settings = {
|
||||
markdown = {
|
||||
headline_highlights = [
|
||||
"RenderMarkdownH1"
|
||||
"RenderMarkdownH2"
|
||||
"RenderMarkdownH3"
|
||||
"RenderMarkdownH4"
|
||||
"RenderMarkdownH5"
|
||||
"RenderMarkdownH6"
|
||||
];
|
||||
fat_headlines = false;
|
||||
};
|
||||
};
|
||||
};
|
||||
plugins.render-markdown = {
|
||||
enable = true;
|
||||
settings = {
|
||||
heading = {
|
||||
icons = [ "# " " " " " " " " " " " ];
|
||||
backgrounds = [ "RenderMarkdownBg" ];
|
||||
foregrounds = [
|
||||
"RenderMarkdownH1"
|
||||
"RenderMarkdownH2"
|
||||
"RenderMarkdownH3"
|
||||
"RenderMarkdownH4"
|
||||
"RenderMarkdownH5"
|
||||
"RenderMarkdownH6"
|
||||
];
|
||||
};
|
||||
checkbox = {
|
||||
unchecked = { highlight = "RenderMarkdownTodo"; };
|
||||
checked = { highlight = "RenderMarkdownTodo"; };
|
||||
custom = {
|
||||
pending = {
|
||||
raw = "[-]";
|
||||
rendered = " ";
|
||||
highlight = "RenderMarkdownTodo";
|
||||
};
|
||||
important = {
|
||||
raw = "[!]";
|
||||
rendered = " ";
|
||||
highlight = "RenderMarkdownWarning";
|
||||
};
|
||||
cancel = {
|
||||
raw = "[/]";
|
||||
rendered = " ";
|
||||
highlight = "RenderMarkdownTodo";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
75
old/home/terminal/nvim/plugins/telescope.nix
Executable file
75
old/home/terminal/nvim/plugins/telescope.nix
Executable file
|
|
@ -0,0 +1,75 @@
|
|||
{ config, ... }:
|
||||
let
|
||||
accent = "#${config.theme.colors.color15}";
|
||||
background = "#${config.theme.colors.primary-bg}";
|
||||
background-alt = "#${config.theme.colors.secondary-bg}";
|
||||
in {
|
||||
programs.nixvim = {
|
||||
highlight = {
|
||||
TelescopePromptPrefix.fg = accent;
|
||||
TelescopeSelectionCaret = {
|
||||
fg = accent;
|
||||
bg = background-alt;
|
||||
};
|
||||
TelescopeSelection.bg = background-alt;
|
||||
TelescopePromptTitle = {
|
||||
bg = background;
|
||||
fg = accent;
|
||||
};
|
||||
TelescopePromptNormal.bg = background;
|
||||
TelescopePromptBorder = {
|
||||
bg = background;
|
||||
fg = accent;
|
||||
};
|
||||
};
|
||||
plugins = {
|
||||
telescope = {
|
||||
enable = true;
|
||||
extensions.fzf-native = { enable = true; };
|
||||
settings.defaults = { selection_caret = "❚ "; };
|
||||
};
|
||||
|
||||
## Tree
|
||||
treesitter-context.enable = true;
|
||||
neo-tree.enable = true;
|
||||
oil = {
|
||||
enable = true;
|
||||
settings = {
|
||||
default_file_explorer = false;
|
||||
skip_confirm_for_simple_edits = true;
|
||||
win_options = {
|
||||
concealcursor = "ncv";
|
||||
conceallevel = 3;
|
||||
cursorcolumn = false;
|
||||
foldcolumn = "0";
|
||||
list = false;
|
||||
signcolumn = "no";
|
||||
spell = false;
|
||||
wrap = false;
|
||||
};
|
||||
float = { padding = 5; };
|
||||
keymaps = {
|
||||
"-" = "actions.parent";
|
||||
"b" = "actions.parent";
|
||||
"<C-c>" = "actions.close";
|
||||
"<C-h>" = "actions.select_split";
|
||||
"<C-l>" = "actions.refresh";
|
||||
"<C-p>" = "actions.preview";
|
||||
"<C-s>" = "actions.select_vsplit";
|
||||
"<C-t>" = "actions.select_tab";
|
||||
"<CR>" = "actions.select";
|
||||
_ = "actions.open_cwd";
|
||||
"`" = "actions.cd";
|
||||
"g." = "actions.toggle_hidden";
|
||||
"g?" = "actions.show_help";
|
||||
"g\\" = "actions.toggle_trash";
|
||||
gs = "actions.change_sort";
|
||||
gx = "actions.open_external";
|
||||
"~" = "actions.tcd";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
};
|
||||
}
|
||||
253
old/home/terminal/nvim/plugins/ui.nix
Executable file
253
old/home/terminal/nvim/plugins/ui.nix
Executable file
|
|
@ -0,0 +1,253 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
let
|
||||
|
||||
accent = "#${config.theme.colors.color14}";
|
||||
muted = "#${config.theme.colors.secondary-bg}";
|
||||
foreground = "#${config.theme.colors.primary-fg}";
|
||||
|
||||
in {
|
||||
|
||||
home.packages = with pkgs; [ ctags ];
|
||||
|
||||
programs = {
|
||||
nixvim = {
|
||||
|
||||
dependencies.ctags = {
|
||||
enable = true;
|
||||
#package = with pkgs; [ universal-ctags ];
|
||||
};
|
||||
|
||||
highlight = {
|
||||
AlphaHeaderColor.fg = accent;
|
||||
AlphaTextColor.fg = foreground;
|
||||
AlphaShortcutColor.fg = muted;
|
||||
};
|
||||
|
||||
colorschemes = {
|
||||
modus = {
|
||||
enable = true;
|
||||
settings = {
|
||||
transparent = true;
|
||||
style = "modus_vivendi";
|
||||
styles = {
|
||||
comments = {
|
||||
italic = true;
|
||||
#bg = "";
|
||||
fg = "#cccccc";
|
||||
};
|
||||
variables = {
|
||||
#bg = "";
|
||||
fg = "#00c0ff";
|
||||
};
|
||||
functions = {
|
||||
#bg = "";
|
||||
fg = "#d0fffe";
|
||||
};
|
||||
keywords = {
|
||||
bold = true;
|
||||
#bg = "";
|
||||
fg = "#00dfff";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
plugins = {
|
||||
#transparent.enable = true;
|
||||
|
||||
lualine = {
|
||||
enable = true;
|
||||
settings = {
|
||||
options.disabled_filetypes.statusline =
|
||||
[ "dashboard" "alpha" "neo-tree" ];
|
||||
|
||||
alwaysDivideMiddle = true;
|
||||
globalstatus = true;
|
||||
ignoreFocus = [ "neo-tree" ];
|
||||
extensions = [ "fzf" ];
|
||||
theme = "auto";
|
||||
componentSeparators = {
|
||||
left = "|";
|
||||
right = "|";
|
||||
};
|
||||
sectionSeparators = {
|
||||
left = "█"; #
|
||||
right = "█"; #
|
||||
};
|
||||
sections = {
|
||||
lualine_a = [ "mode" ];
|
||||
lualine_b = [ "branch" "diff" "diagnostics" ];
|
||||
lualine_c = [ "filename" ];
|
||||
lualine_x = [ "filetype" ];
|
||||
lualine_y = [ "progress" ];
|
||||
lualine_z = [ ''" " .. os.date("%R")'' ];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
web-devicons.enable = true;
|
||||
noice.enable = true;
|
||||
notify = {
|
||||
enable = true;
|
||||
settings = { level = "warn"; };
|
||||
};
|
||||
gitsigns = {
|
||||
enable = true;
|
||||
settings.current_line_blame = false;
|
||||
};
|
||||
|
||||
trouble.enable = true;
|
||||
indent-blankline.enable = true;
|
||||
colorizer.enable = true;
|
||||
tagbar = {
|
||||
enable = true;
|
||||
#tagsPackage = pkgs.universal-ctags;
|
||||
};
|
||||
|
||||
alpha = {
|
||||
enable = true;
|
||||
settings.layout = [
|
||||
{
|
||||
type = "padding";
|
||||
val = 4;
|
||||
}
|
||||
{
|
||||
type = "text";
|
||||
opts = {
|
||||
position = "center";
|
||||
hl = "AlphaHeaderColor";
|
||||
};
|
||||
val = [
|
||||
" "
|
||||
" ████ ██████ █████ ██ "
|
||||
" ███████████ █████ "
|
||||
" █████████ ███████████████████ ███ ███████████ "
|
||||
" █████████ ███ █████████████ █████ ██████████████ "
|
||||
" █████████ ██████████ █████████ █████ █████ ████ █████ "
|
||||
" ███████████ ███ ███ █████████ █████ █████ ████ █████ "
|
||||
" ██████ █████████████████████ ████ █████ █████ ████ ██████ "
|
||||
" "
|
||||
];
|
||||
}
|
||||
{
|
||||
type = "padding";
|
||||
val = 4;
|
||||
}
|
||||
{
|
||||
type = "group";
|
||||
val = [
|
||||
{
|
||||
type = "button";
|
||||
val = " Find file";
|
||||
on_press.__raw =
|
||||
"function() vim.cmd[[Telescope find_files]] end";
|
||||
opts = {
|
||||
shortcut = "nf";
|
||||
position = "center";
|
||||
cursor = 3;
|
||||
width = 50;
|
||||
align_shortcut = "right";
|
||||
hl_shortcut = "AlphaShortcutColor";
|
||||
hl = "AlphaTextColor";
|
||||
};
|
||||
}
|
||||
{
|
||||
type = "button";
|
||||
val = " New file";
|
||||
on_press.__raw = "function() vim.cmd[[ene]] end";
|
||||
opts = {
|
||||
shortcut = "nn";
|
||||
position = "center";
|
||||
cursor = 3;
|
||||
width = 50;
|
||||
align_shortcut = "right";
|
||||
hl_shortcut = "AlphaShortcutColor";
|
||||
hl = "AlphaTextColor";
|
||||
};
|
||||
}
|
||||
{
|
||||
type = "button";
|
||||
val = " NixOs Config";
|
||||
on_press.__raw =
|
||||
"function() vim.cmd[[Neotree /home/serenity/flakes/nixdots/home/common/dotconfig/nvim]] end";
|
||||
opts = {
|
||||
shortcut = "nc";
|
||||
position = "center";
|
||||
cursor = 3;
|
||||
width = 50;
|
||||
align_shortcut = "right";
|
||||
hl_shortcut = "AlphaShortcutColor";
|
||||
hl = "AlphaTextColor";
|
||||
};
|
||||
}
|
||||
{
|
||||
type = "button";
|
||||
val = " Keybindings";
|
||||
on_press.__raw =
|
||||
"function() vim.cmd[[e /home/serenity/flakes/nixdots/home/common/dotconfig/nvim/docs/KEYBINDINGS.md]] end";
|
||||
opts = {
|
||||
shortcut = "nc";
|
||||
position = "center";
|
||||
cursor = 3;
|
||||
width = 50;
|
||||
align_shortcut = "right";
|
||||
hl_shortcut = "AlphaShortcutColor";
|
||||
hl = "AlphaTextColor";
|
||||
};
|
||||
}
|
||||
{
|
||||
type = "button";
|
||||
val = " Recently used";
|
||||
on_press.__raw =
|
||||
"function() vim.cmd[[Telescope oldfiles]] end";
|
||||
opts = {
|
||||
shortcut = "no";
|
||||
position = "center";
|
||||
cursor = 3;
|
||||
width = 50;
|
||||
align_shortcut = "right";
|
||||
hl_shortcut = "AlphaShortcutColor";
|
||||
hl = "AlphaTextColor";
|
||||
};
|
||||
}
|
||||
{
|
||||
type = "button";
|
||||
val = " Find text";
|
||||
on_press.__raw =
|
||||
"function() vim.cmd[[Telescope live_grep]] end";
|
||||
opts = {
|
||||
shortcut = "nt";
|
||||
position = "center";
|
||||
cursor = 3;
|
||||
width = 50;
|
||||
align_shortcut = "right";
|
||||
hl_shortcut = "AlphaShortcutColor";
|
||||
hl = "AlphaTextColor";
|
||||
};
|
||||
}
|
||||
{
|
||||
type = "button";
|
||||
val = " Quit Neovim";
|
||||
on_press.__raw = "function() vim.cmd[[qa]] end";
|
||||
opts = {
|
||||
shortcut = "nq";
|
||||
position = "center";
|
||||
cursor = 3;
|
||||
width = 50;
|
||||
align_shortcut = "right";
|
||||
hl_shortcut = "AlphaShortcutColor";
|
||||
hl = "AlphaTextColor";
|
||||
};
|
||||
}
|
||||
];
|
||||
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
77
old/home/terminal/nvim/plugins/utils.nix
Executable file
77
old/home/terminal/nvim/plugins/utils.nix
Executable file
|
|
@ -0,0 +1,77 @@
|
|||
{ config, pkgs, ... }: {
|
||||
programs.nixvim = {
|
||||
highlightOverride = { FloatBorder.fg = "#${config.theme.colors.color15}"; };
|
||||
|
||||
plugins = {
|
||||
|
||||
comment.enable = true;
|
||||
todo-comments.enable = true;
|
||||
tmux-navigator.enable = true;
|
||||
nvim-autopairs.enable = true;
|
||||
friendly-snippets.enable = true;
|
||||
|
||||
flash.enable = true;
|
||||
image = {
|
||||
enable = true;
|
||||
settings.integrations.markdown = {
|
||||
clearInInsertMode = true;
|
||||
onlyRenderImageAtCursor = true;
|
||||
};
|
||||
};
|
||||
|
||||
treesitter = {
|
||||
enable = true;
|
||||
nixGrammars = true;
|
||||
settings = {
|
||||
indent.enable = true;
|
||||
highlight.enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
harpoon = {
|
||||
enable = true;
|
||||
enableTelescope = true;
|
||||
#keymapsSilent = true;
|
||||
#keymaps = {
|
||||
#addFile = "<leader>ha";
|
||||
#toggleQuickMenu = "<leader>hu";
|
||||
#navNext = "<leader>hl";
|
||||
#navPrev = "<leader>hh";
|
||||
#navFile = {
|
||||
#"1" = "<leader>h1";
|
||||
#"2" = "<leader>h2";
|
||||
#"3" = "<leader>h3";
|
||||
#"4" = "<leader>h4";
|
||||
#};
|
||||
#};
|
||||
};
|
||||
|
||||
dap = {
|
||||
enable = true;
|
||||
adapters = { };
|
||||
signs = {
|
||||
dapBreakpoint = {
|
||||
text = "●";
|
||||
texthl = "DapBreakpoint";
|
||||
};
|
||||
dapBreakpointCondition = {
|
||||
text = "●";
|
||||
texthl = "DapBreakpointCondition";
|
||||
};
|
||||
dapLogPoint = {
|
||||
text = "◆";
|
||||
texthl = "DapLogPoint";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
dap-ui = { enable = true; };
|
||||
dap-virtual-text = { enable = true; };
|
||||
dap-go = {
|
||||
enable = true;
|
||||
settings = { delve.path = "${pkgs.delve}/bin/dlv"; };
|
||||
};
|
||||
|
||||
};
|
||||
};
|
||||
}
|
||||
19
old/home/terminal/yazi.nix
Executable file
19
old/home/terminal/yazi.nix
Executable file
|
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
|
||||
programs.yazi = {
|
||||
enable = true;
|
||||
enableFishIntegration = true;
|
||||
settings = {
|
||||
log = { enabled = false; };
|
||||
manager = {
|
||||
show_hidden = true;
|
||||
#linemode = "none"
|
||||
sort_by = "mtime";
|
||||
sort_dir_first = true;
|
||||
sort_reverse = false;
|
||||
};
|
||||
};
|
||||
#plugins = { };
|
||||
};
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue