mirror of
https://github.com/tuxdotrs/nix-config.git
synced 2025-10-09 16:21:54 +05:30
Compare commits
4 Commits
b06c8e48bc
...
da69c4b543
Author | SHA1 | Date | |
---|---|---|---|
da69c4b543
|
|||
88e4d73968
|
|||
3c330385d7
|
|||
04663412b0
|
@@ -75,7 +75,7 @@ reboot
|
||||
| Hotkeys | Hyprland | Awful |
|
||||
| Launcher | Astal | Rofi |
|
||||
| Notifications | Astal | Naughty |
|
||||
| Terminal | Ghostty | Wezterm |
|
||||
| Terminal | Wezterm | Wezterm |
|
||||
| Editor | Neovim | Neovim |
|
||||
|
||||
## Showcase
|
||||
|
@@ -142,7 +142,7 @@
|
||||
loader = {
|
||||
systemd-boot = {
|
||||
enable = true;
|
||||
configurationLimit = 5;
|
||||
configurationLimit = 10;
|
||||
};
|
||||
efi.canTouchEfiVariables = true;
|
||||
timeout = 1;
|
||||
|
@@ -15,6 +15,7 @@
|
||||
../../modules/home/firefox
|
||||
../../modules/home/brave
|
||||
../../modules/home/vs-code
|
||||
../../modules/home/zed
|
||||
../../modules/home/mopidy
|
||||
../../modules/home/thunderbird
|
||||
../../modules/home/easyeffects
|
||||
|
@@ -91,7 +91,7 @@
|
||||
loader = {
|
||||
systemd-boot = {
|
||||
enable = true;
|
||||
configurationLimit = 5;
|
||||
configurationLimit = 10;
|
||||
};
|
||||
efi.canTouchEfiVariables = true;
|
||||
timeout = 1;
|
||||
|
@@ -1,4 +1,6 @@
|
||||
{pkgs, ...}: {
|
||||
imports = [./hyprlock.nix];
|
||||
|
||||
home.packages = with pkgs; [astal];
|
||||
|
||||
wayland.windowManager.hyprland = {
|
||||
@@ -206,6 +208,9 @@
|
||||
# shutdown
|
||||
"SUPER_SHIFT, P, exec, poweroff"
|
||||
|
||||
# lock
|
||||
"SUPER_SHIFT, L, exec, hyprlock"
|
||||
|
||||
# change focus
|
||||
"SUPER, left, movefocus, l"
|
||||
"SUPER, right, movefocus, r"
|
||||
|
47
modules/home/desktop/hyprland/hyprlock.nix
Normal file
47
modules/home/desktop/hyprland/hyprlock.nix
Normal file
@@ -0,0 +1,47 @@
|
||||
{
|
||||
programs.hyprlock = {
|
||||
enable = true;
|
||||
settings = {
|
||||
general = {
|
||||
hide_cursor = true;
|
||||
ignore_empty_input = true;
|
||||
};
|
||||
|
||||
animations = {
|
||||
enabled = true;
|
||||
fade_in = {
|
||||
duration = 300;
|
||||
bezier = "easeOutQuint";
|
||||
};
|
||||
fade_out = {
|
||||
duration = 300;
|
||||
bezier = "easeOutQuint";
|
||||
};
|
||||
};
|
||||
|
||||
background = [
|
||||
{
|
||||
path = "screenshot";
|
||||
blur_passes = 3;
|
||||
blur_size = 8;
|
||||
}
|
||||
];
|
||||
|
||||
input-field = [
|
||||
{
|
||||
size = "200, 50";
|
||||
position = "0, -80";
|
||||
monitor = "";
|
||||
dots_center = true;
|
||||
fade_on_empty = false;
|
||||
font_color = "rgb(202, 211, 245)";
|
||||
inner_color = "rgb(91, 96, 120)";
|
||||
outer_color = "rgb(24, 25, 38)";
|
||||
outline_thickness = 5;
|
||||
placeholder_text = "Password";
|
||||
shadow_passes = 2;
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
28
modules/home/zed/default.nix
Normal file
28
modules/home/zed/default.nix
Normal file
@@ -0,0 +1,28 @@
|
||||
{
|
||||
programs.zed-editor = {
|
||||
enable = true;
|
||||
extensions = ["lua" "nix" "C#" "solidity"];
|
||||
userKeymaps = [
|
||||
{
|
||||
context = "Workspace";
|
||||
bindings = {
|
||||
F7 = "workspace::NewTerminal";
|
||||
};
|
||||
}
|
||||
];
|
||||
userSettings = {
|
||||
ui_font_size = 8;
|
||||
buffer_font_size = 8;
|
||||
theme = {
|
||||
mode = "dark";
|
||||
light = "Ayu Light";
|
||||
dark = "Ayu Dark";
|
||||
};
|
||||
vim_mode = true;
|
||||
telemetry = {
|
||||
diagnostics = false;
|
||||
metrics = false;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user