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 /configuration.nix | |
| parent | 1902a372eeb4b800b35c8f47cb28edfe507e0508 (diff) | |
Added ripgrep and fd
Diffstat (limited to 'configuration.nix')
| -rw-r--r-- | configuration.nix | 59 |
1 files changed, 39 insertions, 20 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? } - |
