diff options
| author | anand <anand.panchdhari@gmail.com> | 2025-12-22 11:37:58 +0530 |
|---|---|---|
| committer | anand <anand.panchdhari@gmail.com> | 2025-12-22 11:37:58 +0530 |
| commit | 0a8613fbd7e6aafd9c2713e111891b18c445f943 (patch) | |
| tree | 81e505c4b9bb82efd4127778402c99e011a94c2d | |
| parent | 1902a372eeb4b800b35c8f47cb28edfe507e0508 (diff) | |
Added ripgrep and fd
| -rw-r--r-- | configuration.nix | 59 | ||||
| -rwxr-xr-x | home.nix | 4 | ||||
| -rwxr-xr-x | hypr/hyprlock.conf | 2 |
3 files changed, 44 insertions, 21 deletions
diff --git a/configuration.nix b/configuration.nix index 8530dad..e2cc914 100644 --- a/configuration.nix +++ b/configuration.nix @@ -1,14 +1,18 @@ -{ config, lib, pkgs, ... }: +{ + config, + lib, + pkgs, + ... +}: { - imports = - [ - ./hardware-configuration.nix - ]; + imports = [ + ./hardware-configuration.nix + ]; - boot.loader.systemd-boot.enable = true; - boot.loader.systemd-boot.configurationLimit = 5; - boot.loader.efi.canTouchEfiVariables = true; + boot.loader.systemd-boot.enable = true; + boot.loader.systemd-boot.configurationLimit = 5; + boot.loader.efi.canTouchEfiVariables = true; boot.kernelPackages = pkgs.linuxPackages_latest; @@ -23,6 +27,10 @@ nixpkgs.config.allowUnfree = true; + services.logind.settings.Login = { + HandlePowerKey = "ignore"; + LidSwitchIgnoreInhibited = "no"; + }; services.mysql = { enable = true; package = pkgs.percona-server; @@ -47,7 +55,17 @@ users.users.anand = { isNormalUser = true; - extraGroups = [ "wheel" "network" "input" "uinput" "video" "adbusers" "libvirtd" "kvm" "docker" ]; + extraGroups = [ + "wheel" + "network" + "input" + "uinput" + "video" + "adbusers" + "libvirtd" + "kvm" + "docker" + ]; packages = with pkgs; [ tree ]; @@ -60,9 +78,9 @@ neovim tree-sitter wget - git - kitty - tmux + git + kitty + tmux ly pavucontrol waybar @@ -99,7 +117,6 @@ hyprlock hyprshot trashy - lazygit ]; fonts.packages = with pkgs; [ @@ -109,11 +126,14 @@ fonts.fontconfig = { enable = true; defaultFonts = { - monospace = ["JetBrainsMono Nerd Font"]; + monospace = [ "JetBrainsMono Nerd Font" ]; }; }; - nix.settings.experimental-features = ["nix-command" "flakes"]; + nix.settings.experimental-features = [ + "nix-command" + "flakes" + ]; virtualisation.libvirtd.enable = true; programs.virt-manager.enable = true; @@ -125,10 +145,10 @@ enableSSHSupport = true; }; - programs.hyprland = { - enable = true; - xwayland.enable = true; - }; + programs.hyprland = { + enable = true; + xwayland.enable = true; + }; programs.firefox.enable = true; @@ -169,4 +189,3 @@ system.stateVersion = "25.11"; # Did you read the comment? } - @@ -94,6 +94,10 @@ in pkgs.grim pkgs.slurp pkgs.dmenu-wayland + pkgs.lazysql + pkgs.lazygit + pkgs.ripgrep-all + pkgs.fd ]; home.activation.dotfiles = lib.hm.dag.entryAfter [ "writeBoundary" ] '' diff --git a/hypr/hyprlock.conf b/hypr/hyprlock.conf index a10c629..7d51a65 100755 --- a/hypr/hyprlock.conf +++ b/hypr/hyprlock.conf @@ -8,7 +8,7 @@ label { text = <span foreground='##000000'>Hi there, $USER</span> color = rgba(0.0, 0.0, 0.0, 1.0) font_size = 25 - font_family = Iosevka NFM + font_family = monospace position = 0, 80 halign = center |
