Update Zed configuration for nix LSP and formatter.

This commit is contained in:
2025-11-23 16:34:22 +01:00
parent 2be712393f
commit 900b565405
114 changed files with 2311 additions and 2408 deletions

View File

@@ -1,5 +1,4 @@
{ ... }:
{
_: {
wayland.windowManager.hyprland.settings = {
animations = {
enabled = true;

View File

@@ -1,5 +1,4 @@
{ ... }:
{
_: {
wayland.windowManager.hyprland.settings = {
# name "Dynamic"
# credit https://github.com/mylinuxforwork/dotfiles

View File

@@ -1,5 +1,4 @@
{ ... }:
{
_: {
wayland.windowManager.hyprland.settings = {
# Name: END-4
# Credit: END-4 project https://github.com/end-4/dots-hyprland

View File

@@ -1,5 +1,4 @@
{ ... }:
{
_: {
wayland.windowManager.hyprland.settings = {
# name "moving"
# credit https://github.com/mylinuxforwork/dotfiles

View File

@@ -1,9 +1,11 @@
{ host, username, ... }:
let
{
host,
username,
...
}: let
inherit (import ../../../hosts/${host}/variables.nix) browser terminal;
desktopEntriesPath = "/home/${username}/.local/state/home-manager/gcroots/current-home/home-path/share/applications/";
in
{
in {
wayland.windowManager.hyprland.settings = {
bind = [
# =============================================================================

View File

@@ -1,8 +1,6 @@
{ host, ... }:
let
{host, ...}: let
inherit (import ../../../hosts/${host}/variables.nix) animChoice;
in
{
in {
imports = [
animChoice
./binds.nix

View File

@@ -1,5 +1,4 @@
{ ... }:
{
_: {
wayland.windowManager.hyprland = {
settings = {
env = [

View File

@@ -1,10 +1,9 @@
{ host, ... }:
let
inherit (import ../../../hosts/${host}/variables.nix)
{host, ...}: let
inherit
(import ../../../hosts/${host}/variables.nix)
stylixImage
;
in
{
in {
wayland.windowManager.hyprland.settings = {
exec-once = [
"wl-paste --type text --watch cliphist store" # Saves text

View File

@@ -1,6 +1,4 @@
{ ... }:
{
_: {
services = {
hypridle = {
enable = true;

View File

@@ -3,11 +3,9 @@
config,
pkgs,
...
}:
let
}: let
inherit (import ../../../hosts/${host}/variables.nix) extraMonitorSettings keyboardLayout;
in
{
in {
systemd.user.targets.hyprland-session.Unit.Wants = [
"xdg-desktop-autostart.target"
];
@@ -26,7 +24,7 @@ in
systemd = {
enable = true;
enableXdgAutostart = true;
variables = [ "--all" ];
variables = ["--all"];
};
xwayland = {
enable = true;
@@ -68,8 +66,7 @@ in
gaps_out = 8;
border_size = 2;
resize_on_border = true;
"col.active_border" =
"rgb(${config.lib.stylix.colors.base08}) rgb(${config.lib.stylix.colors.base0C}) 45deg";
"col.active_border" = "rgb(${config.lib.stylix.colors.base08}) rgb(${config.lib.stylix.colors.base0C}) 45deg";
"col.inactive_border" = "rgb(${config.lib.stylix.colors.base01})";
};
@@ -154,9 +151,7 @@ in
extraConfig = "
monitor=,preferred,auto,auto
monitor=Virtual-1,1920x1080@60,auto,1
${
extraMonitorSettings
}
${extraMonitorSettings}
# To enable blur on waybar uncomment the line below
# Thanks to SchotjeChrisman
#layerrule = blur,waybar

View File

@@ -1,5 +1,4 @@
{ username, ... }:
{
{username, ...}: {
programs.hyprlock = {
enable = true;
settings = {

View File

@@ -1,5 +1,4 @@
{ ... }:
{
_: {
home.file.".config/hypr/pyprland.toml".text = ''
[pyprland]
plugins = [