Compare commits

..

No commits in common. "e690e4d487cec64a95188fc66b515cab78ba0970" and "8d388cb10e4cbcf57f3aee26439d25e2c0347fe7" have entirely different histories.

7 changed files with 31 additions and 58 deletions

View file

@ -70,22 +70,6 @@
"type": "github" "type": "github"
} }
}, },
"cellular-automaton": {
"flake": false,
"locked": {
"lastModified": 1719777869,
"narHash": "sha256-nIv7ISRk0+yWd1lGEwAV6u1U7EFQj/T9F8pU6O0Wf0s=",
"owner": "Eandrju",
"repo": "cellular-automaton.nvim",
"rev": "11aea08aa084f9d523b0142c2cd9441b8ede09ed",
"type": "github"
},
"original": {
"owner": "Eandrju",
"repo": "cellular-automaton.nvim",
"type": "github"
}
},
"crane": { "crane": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
@ -1055,7 +1039,6 @@
}, },
"viminal": { "viminal": {
"inputs": { "inputs": {
"cellular-automaton": "cellular-automaton",
"flake-parts": "flake-parts_2", "flake-parts": "flake-parts_2",
"haskell-tools": "haskell-tools", "haskell-tools": "haskell-tools",
"lsp-progress": "lsp-progress", "lsp-progress": "lsp-progress",
@ -1067,11 +1050,11 @@
"satellite": "satellite" "satellite": "satellite"
}, },
"locked": { "locked": {
"lastModified": 1726653943, "lastModified": 1726615423,
"narHash": "sha256-YZpbHH96hiNbxx1p/FU8ABxw+gVsY9nBgiloHLCDhYg=", "narHash": "sha256-cX5zX8US0E5Aw1xzFuumTlQTxZSzwqp7kz7i+qFDBIQ=",
"owner": "youwen5", "owner": "youwen5",
"repo": "viminal", "repo": "viminal",
"rev": "570fddee2d5b5b0ed1d13837cc4dbb6cbe567056", "rev": "0fff5154e69feb5bbb0e634e654eb65feee9c5cf",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1103,11 +1086,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1726634128, "lastModified": 1726001766,
"narHash": "sha256-SE7USQHYRh3FN/3NWVLJ7pbEPMrVIs2JeI+nQXLgkXM=", "narHash": "sha256-ADvEWfo0AuHR06ah1nnzOyhsG05/b5QpUc7vFNbiEfM=",
"owner": "youwen5", "owner": "youwen5",
"repo": "zen-browser-flake", "repo": "zen-browser-flake",
"rev": "830d6cab49d32d14d38f9b0f6ed0b097ebd8bc49", "rev": "06505a088396e2c0b9ad100302502783a6bcdb40",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -115,7 +115,7 @@
services.udev.extraRules = '' services.udev.extraRules = ''
KERNEL=="cpu_dma_latency", GROUP="realtime" KERNEL=="cpu_dma_latency", GROUP="realtime"
KERNEL=="macsmc-battery", SUBSYSTEM=="power_supply", ATTR{charge_control_end_threshold}="90", ATTR{charge_control_start_threshold}="85" KERNEL=="macsmc-battery", SUBSYSTEM=="power_supply", ATTR{charge_control_end_threshold}="90", ATTR{charge_control_start_threshold}="80"
''; '';
# Allow unfree packages # Allow unfree packages

View file

@ -6,7 +6,6 @@
{ {
environment.systemPackages = [ environment.systemPackages = [
inputs.viminal.packages.${pkgs.system}.default inputs.viminal.packages.${pkgs.system}.default
inputs.viminal.packages.${pkgs.system}.vimg
]; ];
security.sudo.enable = false; security.sudo.enable = false;

View file

@ -8,7 +8,11 @@
grim grim
slurp slurp
swappy swappy
pavucontrol
waypaper
swaybg swaybg
pamixer
brightnessctl
bibata-cursors bibata-cursors
libsForQt5.qtstyleplugin-kvantum libsForQt5.qtstyleplugin-kvantum
@ -20,7 +24,7 @@
wayland.windowManager.hyprland = { wayland.windowManager.hyprland = {
enable = true; enable = true;
settings = { settings = {
exec-once = [ "${pkgs.waypaper}/bin/waypaper --restore" ]; exec-once = [ "waypaper --restore" ];
"$mod" = "SUPER"; "$mod" = "SUPER";
"$Left" = "H"; "$Left" = "H";
"$Right" = "L"; "$Right" = "L";
@ -37,12 +41,11 @@
# External reserved keys: SUPER + Z and SUPER + X for zen-browser. # External reserved keys: SUPER + Z and SUPER + X for zen-browser.
# Application Keybinds # Application Keybinds
"$mod, T, exec, ${pkgs.kitty}/bin/kitty" "$mod, T, exec, kitty"
"$mod, E, exec, ${pkgs.dolphin}/bin/dolphin" "$mod, E, exec, dolphin"
"$mod, R, exec, ${pkgs.pavucontrol}/bin/pavucontrol -t 3" # open pavucontrol on 'outputs' tab "$mod, R, exec, pavucontrol -t 3" # open pavucontrol on 'outputs' tab
"$mod, M, exec, ${pkgs.thunderbird}/bin/thunderbird" "$mod, M, exec, thunderbird"
"$mod, B, exec, ${pkgs.waypaper}/bin/waypaper" "$mod, B, exec, waypaper"
"$mod, A, exec, ${pkgs.neovide}/bin/neovide"
# Window actions # Window actions
"$mod, Q, killactive" "$mod, Q, killactive"
@ -110,10 +113,10 @@
"$mod, I, exec, hyprlock" "$mod, I, exec, hyprlock"
# Media controls # Media controls
",XF86AudioMute, exec, ${pkgs.pamixer}/bin/pamixer -t" ",XF86AudioMute, exec, pamixer -t"
",XF86AudioPlay, exec, ${pkgs.playerctl}/bin/playerctl play-pause" ",XF86AudioPlay, exec, playerctl play-pause"
",XF86AudioNext, exec, ${pkgs.playerctl}/bin/playerctl next" ",XF86AudioNext, exec, playerctl next"
",XF86AudioRewind, exec, ${pkgs.playerctl}/bin/playerctl previous" ",XF86AudioRewind, exec, playerctl previous"
] ]
++ ( ++ (
if pkgs.system != "aarch64-linux" then [ "$mod, F, exec, zen" ] else [ "$mod, F, exec, floorp" ] if pkgs.system != "aarch64-linux" then [ "$mod, F, exec, zen" ] else [ "$mod, F, exec, floorp" ]
@ -123,10 +126,10 @@
"$mod, mouse:273, resizewindow" "$mod, mouse:273, resizewindow"
]; ];
bindel = [ bindel = [
",XF86MonBrightnessDown, exec, ${pkgs.brightnessctl}/bin/brightnessctl set 5%-" ",XF86MonBrightnessDown, exec, brightnessctl set 5%-"
",XF86MonBrightnessUp, exec, ${pkgs.brightnessctl}/bin/brightnessctl set 5%+" ",XF86MonBrightnessUp, exec, brightnessctl set 5%+"
",XF86AudioRaiseVolume, exec, ${pkgs.pamixer}/bin/pamixer -i 5" ",XF86AudioRaiseVolume, exec, pamixer -i 5"
",XF86AudioLowerVolume, exec, ${pkgs.pamixer}/bin/pamixer -d 5" ",XF86AudioLowerVolume, exec, pamixer -d 5"
]; ];
binde = [ binde = [
# Resize windows # Resize windows
@ -151,7 +154,6 @@
"opacity 0.80 0.80,class:^(code-url-handler)$" "opacity 0.80 0.80,class:^(code-url-handler)$"
"opacity 0.80 0.80,class:^(code-insiders-url-handler)$" "opacity 0.80 0.80,class:^(code-insiders-url-handler)$"
"opacity 0.80 0.80,class:^(kitty)$" "opacity 0.80 0.80,class:^(kitty)$"
"opacity 0.80 0.80,class:^(neovide)$"
"opacity 0.80 0.80,class:^(org.kde.dolphin)$" "opacity 0.80 0.80,class:^(org.kde.dolphin)$"
"opacity 0.80 0.80,class:^(org.kde.ark)$" "opacity 0.80 0.80,class:^(org.kde.ark)$"
"opacity 0.80 0.80,class:^(nwg-look)$" "opacity 0.80 0.80,class:^(nwg-look)$"
@ -349,7 +351,7 @@
services.hypridle = { services.hypridle = {
enable = true; enable = true;
settings = { settings = {
lock_cmd = "pidof hyprlock || ${pkgs.hyprlock}/bin/hyprlock"; # avoid starting multiple hyprlock instances. lock_cmd = "pidof hyprlock || hyprlock"; # avoid starting multiple hyprlock instances.
before_sleep_cmd = "loginctl lock-session"; # lock before suspend. before_sleep_cmd = "loginctl lock-session"; # lock before suspend.
after_sleep_cmd = "hyprctl dispatch dpms on"; # to avoid having to press a key twice to turn on the display. after_sleep_cmd = "hyprctl dispatch dpms on"; # to avoid having to press a key twice to turn on the display.
}; };

View file

@ -9,7 +9,6 @@ pkgs: with pkgs; [
# utils # utils
nurl # helps fetch git data for nixpkgs nurl # helps fetch git data for nixpkgs
ffmpeg
# nix related # nix related
# #

View file

@ -24,16 +24,6 @@
}; };
}; };
programs.neovide = {
enable = true;
settings = {
font = {
normal = [ ];
size = 12;
};
};
};
# programs.firefox = { # programs.firefox = {
# enable = true; # enable = true;
# # package = pkgs.librewolf; # # package = pkgs.librewolf;

View file

@ -1,5 +1,5 @@
{ pkgs, ... }:
{ {
# home.file.".config/waybar/config".source = ./config.jsonc;
programs.waybar = { programs.waybar = {
enable = true; enable = true;
style = ./style.css; style = ./style.css;
@ -67,16 +67,16 @@
backlight = { backlight = {
interval = 2; interval = 2;
format = "󰖨 {percent}%"; format = "󰖨 {percent}%";
on-scroll-up = "${pkgs.brightnessctl}/bin/brightnessctl set +4"; on-scroll-up = "brightnessctl set +4";
on-scroll-down = "${pkgs.brightnessctl}/bin/brightnessctl set 4-"; on-scroll-down = "brightnessctl set 4-";
}; };
wireplumber = { wireplumber = {
format = "{icon} {volume}%"; format = "{icon} {volume}%";
format-muted = "󰝟 "; format-muted = "󰝟 ";
on-click = "pamixer -t"; on-click = "pamixer -t";
on-scroll-up = "${pkgs.pamixer}/bin/pamixer set 5%+"; on-scroll-up = "pamixer set 5%+";
on-scroll-down = "${pkgs.pamixer}/bin/pamixer set 5%-"; on-scroll-down = "pamixer set 5%-";
format-icons = [ format-icons = [
"" ""
"" ""