uppdate form working nixos
Signed-off-by: faumaray <faumaray@gmail.com>
This commit is contained in:
1 parent
04a3fdac28
commit
030e97e2fe
71 files changed
+1149
-97
No files matched your search
Regular → Executable
+4
@@ -23,7 +23,11 @@ in
|
||||
vesktop # Discord client with working screen sharing on Wayland
|
||||
telegram-desktop
|
||||
file-roller
|
||||
teamspeak6-client
|
||||
loupe # image viewer
|
||||
zenity
|
||||
procps
|
||||
networkmanager-openvpn
|
||||
];
|
||||
};
|
||||
}
|
||||
Regular → Executable
File mode changed.
Regular → Executable
File mode changed.
Regular → Executable
File mode changed.
Regular → Executable
+3
-2
@@ -17,7 +17,7 @@ let
|
||||
kbLayout = lib.concatStringsSep "," osConfig.my.locale.keyboardLayouts;
|
||||
kbOptions = lib.concatStringsSep "," osConfig.my.locale.keyboardOptions;
|
||||
terminal = "wezterm";
|
||||
fileManager = "nautilus";
|
||||
fileManager = "dolphin";
|
||||
cursorSize = if cursor.enable then cursor.size else 24;
|
||||
cursorTheme = if cursor.enable then cursor.name else "";
|
||||
};
|
||||
@@ -58,7 +58,8 @@ in
|
||||
grim
|
||||
slurp
|
||||
wl-clipboard
|
||||
nautilus
|
||||
kdePackages.dolphin
|
||||
kdePackages.dolphin-plugins
|
||||
];
|
||||
};
|
||||
}
|
||||
Regular → Executable
File mode changed.
Regular → Executable
+126
-61
@@ -8,13 +8,45 @@ local nix = require("nixvars")
|
||||
|
||||
-- Any output, native mode, placed automatically. Use mode = "highrr" to prefer
|
||||
-- the highest refresh rate instead.
|
||||
hl.env("AQ_DRM_DEVICES", "/dev/dri/card1:/dev/dri/card0")
|
||||
hl.monitor({
|
||||
output = "",
|
||||
mode = "preferred",
|
||||
position = "auto",
|
||||
scale = "auto",
|
||||
output = "DP-1",
|
||||
mode = "preferred",
|
||||
position = "0x0",
|
||||
scale = "1",
|
||||
bitdepth = 10,
|
||||
supports_wide_color = 1,
|
||||
supports_hdr = 0,
|
||||
sdrbrightness = "1.25",
|
||||
sdrsaturation = "1.2",
|
||||
vrr = 1,
|
||||
cm = "auto",
|
||||
sdr_min_luminance = 0,
|
||||
sdr_max_luminance = 200,
|
||||
-- icc = "/home/faumaray/Documents/ICC Profile_20240726/CxxG5xT.icm",
|
||||
sdr_eotf = "gamma22",
|
||||
})
|
||||
|
||||
-- monitor = DP-2, preferred, -2560x0, 1, bitdepth, 10, vrr, 1, icc, /home/faumaray/Documents/ICC Profile_20240726/ASUS_Display_sRGB.icc
|
||||
hl.monitor({
|
||||
output = "DP-2",
|
||||
mode = "2560x1440@144",
|
||||
position = "-2560x0",
|
||||
-- position = -1440x0
|
||||
scale = "1",
|
||||
-- transform = 1
|
||||
bitdepth = 10,
|
||||
supports_wide_color = 1,
|
||||
supports_hdr = 0,
|
||||
-- sdrbrightness = 1.0,
|
||||
-- sdrsaturation = 1.1,
|
||||
vrr = 1,
|
||||
sdr_eotf = "gamma22",
|
||||
cm = "auto",
|
||||
-- icc = "/home/faumaray/Documents/ICC Profile_20240726/ASUS_Display_sRGB.icm",
|
||||
-- sdr_min_luminance = 0,
|
||||
-- sdr_max_luminance = 50
|
||||
})
|
||||
-------------------------------
|
||||
---- ENVIRONMENT VARIABLES ----
|
||||
-------------------------------
|
||||
@@ -22,7 +54,7 @@ hl.monitor({
|
||||
hl.env("XCURSOR_SIZE", tostring(nix.cursorSize))
|
||||
hl.env("HYPRCURSOR_SIZE", tostring(nix.cursorSize))
|
||||
if nix.cursorTheme ~= "" then
|
||||
hl.env("XCURSOR_THEME", nix.cursorTheme)
|
||||
hl.env("XCURSOR_THEME", nix.cursorTheme)
|
||||
end
|
||||
|
||||
-----------------------
|
||||
@@ -32,67 +64,84 @@ end
|
||||
-- Gaps, rounding, shadow and blur follow the Noctalia documentation so the
|
||||
-- shell's bar and panels sit well on top of the windows.
|
||||
hl.config({
|
||||
general = {
|
||||
gaps_in = 5,
|
||||
gaps_out = 10,
|
||||
cursor = {
|
||||
no_hardware_cursors = 0,
|
||||
},
|
||||
xwayland = {
|
||||
force_zero_scaling = false,
|
||||
create_abstract_socket = true,
|
||||
},
|
||||
render = {
|
||||
send_content_type = true,
|
||||
direct_scanout = 0,
|
||||
-- cm_fs_passthrough = 1,
|
||||
cm_auto_hdr = 0,
|
||||
cm_sdr_eotf = 1,
|
||||
},
|
||||
quirks = {
|
||||
prefer_hdr = 0,
|
||||
},
|
||||
general = {
|
||||
gaps_in = 5,
|
||||
gaps_out = 10,
|
||||
|
||||
border_size = 2,
|
||||
border_size = 2,
|
||||
|
||||
col = {
|
||||
-- Catppuccin Mocha: mauve to blue, surface1 when unfocused.
|
||||
active_border = { colors = { "rgba(cba6f7ee)", "rgba(89b4faee)" }, angle = 45 },
|
||||
inactive_border = "rgba(45475aaa)",
|
||||
},
|
||||
col = {
|
||||
-- Catppuccin Mocha: mauve to blue, surface1 when unfocused.
|
||||
active_border = "rgba(33ccffee)",
|
||||
inactive_border = "rgba(595959aa)",
|
||||
},
|
||||
|
||||
resize_on_border = true,
|
||||
resize_on_border = true,
|
||||
|
||||
-- Only windows with the `immediate` rule (see 30-rules.lua) tear.
|
||||
allow_tearing = true,
|
||||
-- Only windows with the `immediate` rule (see 30-rules.lua) tear.
|
||||
allow_tearing = true,
|
||||
|
||||
layout = "dwindle",
|
||||
},
|
||||
layout = "dwindle",
|
||||
},
|
||||
|
||||
decoration = {
|
||||
rounding = 20,
|
||||
rounding_power = 2,
|
||||
decoration = {
|
||||
rounding = 20,
|
||||
rounding_power = 2,
|
||||
|
||||
shadow = {
|
||||
enabled = true,
|
||||
range = 4,
|
||||
render_power = 3,
|
||||
color = 0xee1a1a1a,
|
||||
},
|
||||
shadow = {
|
||||
enabled = true,
|
||||
range = 4,
|
||||
render_power = 3,
|
||||
color = 0xee1a1a1a,
|
||||
},
|
||||
|
||||
blur = {
|
||||
enabled = true,
|
||||
size = 3,
|
||||
passes = 2,
|
||||
vibrancy = 0.1696,
|
||||
},
|
||||
},
|
||||
blur = {
|
||||
enabled = true,
|
||||
size = 3,
|
||||
passes = 2,
|
||||
vibrancy = 0.1696,
|
||||
},
|
||||
},
|
||||
|
||||
animations = {
|
||||
enabled = true,
|
||||
},
|
||||
animations = {
|
||||
enabled = true,
|
||||
},
|
||||
|
||||
dwindle = {
|
||||
preserve_split = true,
|
||||
},
|
||||
dwindle = {
|
||||
preserve_split = true,
|
||||
},
|
||||
|
||||
master = {
|
||||
new_status = "master",
|
||||
},
|
||||
master = {
|
||||
new_status = "master",
|
||||
},
|
||||
|
||||
misc = {
|
||||
-- Noctalia draws the wallpaper.
|
||||
force_default_wallpaper = 0,
|
||||
disable_hyprland_logo = true,
|
||||
},
|
||||
misc = {
|
||||
-- Noctalia draws the wallpaper.
|
||||
force_default_wallpaper = 0,
|
||||
disable_hyprland_logo = true,
|
||||
},
|
||||
|
||||
ecosystem = {
|
||||
no_update_news = true,
|
||||
no_donation_nag = true,
|
||||
},
|
||||
ecosystem = {
|
||||
no_update_news = true,
|
||||
no_donation_nag = true,
|
||||
},
|
||||
})
|
||||
|
||||
---------------
|
||||
@@ -100,18 +149,34 @@ hl.config({
|
||||
---------------
|
||||
|
||||
hl.config({
|
||||
input = {
|
||||
kb_layout = nix.kbLayout,
|
||||
kb_options = nix.kbOptions,
|
||||
input = {
|
||||
kb_layout = nix.kbLayout,
|
||||
kb_options = nix.kbOptions,
|
||||
|
||||
numlock_by_default = true,
|
||||
numlock_by_default = true,
|
||||
|
||||
follow_mouse = 1,
|
||||
sensitivity = 0,
|
||||
},
|
||||
follow_mouse = 1,
|
||||
sensitivity = 0,
|
||||
},
|
||||
})
|
||||
|
||||
-- Persistent workspaces keep the empty ones visible in Noctalia's indicator.
|
||||
for i = 1, 5 do
|
||||
hl.workspace_rule({ workspace = tostring(i), persistent = true })
|
||||
hl.workspace_rule({ workspace = tostring(i), persistent = true })
|
||||
end
|
||||
|
||||
for i = 1, 10 do
|
||||
if i % 2 == 0 then
|
||||
if i <= 5 then
|
||||
hl.workspace_rule({ workspace = tostring(i), persistent = true, monitor = "DP-2" })
|
||||
else
|
||||
hl.workspace_rule({ workspace = tostring(i), persistent = false, monitor = "DP-2" })
|
||||
end
|
||||
else
|
||||
if i <= 5 then
|
||||
hl.workspace_rule({ workspace = tostring(i), persistent = true, monitor = "DP-1" })
|
||||
else
|
||||
hl.workspace_rule({ workspace = tostring(i), persistent = false, monitor = "DP-1" })
|
||||
end
|
||||
end
|
||||
end
|
||||
Regular → Executable
File mode changed.
Regular → Executable
File mode changed.
Regular → Executable
+1
-1
@@ -31,7 +31,7 @@ in
|
||||
|
||||
shell = {
|
||||
# Installed system-wide (modules/nixos/desktop/fonts.nix).
|
||||
font_family = "Inter";
|
||||
font_family = "Monaspace Krypton";
|
||||
telemetry_enabled = false;
|
||||
|
||||
# No other polkit agent is started in the session.
|
||||
|
||||
Regular → Executable
File mode changed.
Regular → Executable
+5
@@ -63,6 +63,11 @@ in
|
||||
# Offer only this key, not everything in the agent.
|
||||
IdentitiesOnly = true;
|
||||
};
|
||||
"git.protei.ru" = {
|
||||
User = "git";
|
||||
IdentityFile = "~/.ssh/id_ed25519_work";
|
||||
IdentitiesOnly = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Regular → Executable
File mode changed.
Regular → Executable
+1
-1
@@ -20,7 +20,7 @@ in
|
||||
local config = wezterm.config_builder()
|
||||
|
||||
config.color_scheme = 'Catppuccin Mocha'
|
||||
config.font = wezterm.font_with_fallback { 'JetBrainsMono Nerd Font', 'Noto Color Emoji' }
|
||||
config.font = wezterm.font_with_fallback { 'Monaspace Krypton', 'Noto Color Emoji' }
|
||||
config.font_size = 12.0
|
||||
|
||||
-- Wayland-native, no client-side titlebar (Hyprland draws the borders).
|
||||
|
||||
Regular → Executable
+1
-1
@@ -12,7 +12,7 @@ let
|
||||
cfg = config.my.home.xdg;
|
||||
|
||||
firefox = "firefox.desktop";
|
||||
fileManager = "org.gnome.Nautilus.desktop";
|
||||
fileManager = "Dolphin.desktop";
|
||||
imageViewer = "org.gnome.Loupe.desktop";
|
||||
mediaPlayer = "mpv.desktop";
|
||||
pdfViewer = "org.pwmt.zathura.desktop";
|
||||
|
||||
Reference in new issue
Block a user