diff --git a/flake.nix b/flake.nix index 8493c14..c59afc1 100644 --- a/flake.nix +++ b/flake.nix @@ -12,8 +12,8 @@ inputs.nixpkgs.follows = "nixpkgs"; }; sops-nix = { - url = "github:Mic92/sops-nix"; - inputs.nixpkgs.follows= "nixpkgs"; + url = "github:Mic92/sops-nix"; + inputs.nixpkgs.follows = "nixpkgs"; }; }; diff --git a/hosts/default/benchmarking.nix b/hosts/default/benchmarking.nix index ab76e07..fc74c72 100644 --- a/hosts/default/benchmarking.nix +++ b/hosts/default/benchmarking.nix @@ -1,4 +1,6 @@ -{ config,pkgs, ...}: {home.packages = with pkgs; [ - hyperfine - linuxPackages_latest.perf -];} +{ config, pkgs, ... }: { + home.packages = with pkgs; [ + hyperfine + linuxPackages_latest.perf + ]; +} diff --git a/hosts/default/configuration.nix b/hosts/default/configuration.nix index 3eebbf9..1e33104 100644 --- a/hosts/default/configuration.nix +++ b/hosts/default/configuration.nix @@ -104,15 +104,16 @@ xkb.layout = "us"; xkb.variant = ""; - displayManager = { - gdm.enable = true; - autoLogin.enable = true; - autoLogin.user = "h"; - }; + displayManager.gdm.enable = true; excludePackages = [ pkgs.xterm ]; desktopManager.xterm.enable = false; videoDrivers = [ "nvidia" ]; }; + + displayManager.autoLogin = { + enable = true; + user = "h"; + }; }; # Enable touchpad support (enabled default in most desktopManager). @@ -132,43 +133,43 @@ description = "Himadri Bhattacharjee"; extraGroups = [ "networkmanager" "wheel" ]; packages = with pkgs; [ - broot - fd - ffmpeg-full - file - fractal - gh - gimp - gnome.gnome-boxes - gnome-secrets - go - gopls - i2p - jellyfin-media-player - jq - just - kdenlive - krita - lazygit - libreoffice-fresh - librewolf - libvirt - mariadb - mpv - nil - nitch - ollama - openvpn - pkg-config - qemu - qrencode - signal-desktop - tor-browser-bundle-bin - ungoogled-chromium - unrar - yt-dlp - zellij - ]; + broot + fd + ffmpeg-full + file + fractal + gh + gimp + gnome.gnome-boxes + gnome-secrets + go + gopls + i2p + jellyfin-media-player + jq + just + kdenlive + krita + lazygit + libreoffice-fresh + librewolf + libvirt + mariadb + mpv + nil + nitch + ollama + openvpn + pkg-config + qemu + qrencode + signal-desktop + tor-browser-bundle-bin + ungoogled-chromium + unrar + yt-dlp + zellij + ]; shell = pkgs.fish; }; diff --git a/hosts/default/ctf.nix b/hosts/default/ctf.nix index cfafc61..67974a3 100644 --- a/hosts/default/ctf.nix +++ b/hosts/default/ctf.nix @@ -1,18 +1,20 @@ # Tools for pentesting and playing CTFs -{ config, pkgs, ... }: {home.packages = with pkgs; [ - bettercap - ffuf - gau - ghidra - gitleaks - hashcat - hcxtools - nikto - nmap - patchelf - # pwntools - feroxbuster - rustscan - sqlmap - s3scanner -];} +{ config, pkgs, ... }: { + home.packages = with pkgs; [ + bettercap + ffuf + gau + ghidra + gitleaks + hashcat + hcxtools + nikto + nmap + patchelf + # pwntools + feroxbuster + rustscan + sqlmap + s3scanner + ]; +} diff --git a/hosts/default/gaming.nix b/hosts/default/gaming.nix index effc9b7..00853c2 100644 --- a/hosts/default/gaming.nix +++ b/hosts/default/gaming.nix @@ -1,5 +1,7 @@ -{ config,pkgs, ...}: {home.packages = with pkgs; [ - lutris - wine - dxvk -];} +{ config, pkgs, ... }: { + home.packages = with pkgs; [ + lutris + wine + dxvk + ]; +} diff --git a/hosts/default/notetaking.nix b/hosts/default/notetaking.nix index 56059f4..c2ef9db 100644 --- a/hosts/default/notetaking.nix +++ b/hosts/default/notetaking.nix @@ -1,5 +1,7 @@ -{ config,pkgs, ...}: {home.packages = with pkgs; [ - glow - marksman - rnote -];} +{ config, pkgs, ... }: { + home.packages = with pkgs; [ + glow + marksman + rnote + ]; +} diff --git a/hosts/default/rust.nix b/hosts/default/rust.nix index 8a385af..09d831c 100644 --- a/hosts/default/rust.nix +++ b/hosts/default/rust.nix @@ -1,9 +1,11 @@ -{ config, pkgs, ... }: {home.packages = with pkgs; [ - cargo - cargo-deny - clippy - evcxr - rust-analyzer - rustc - rustfmt -];} +{ config, pkgs, ... }: { + home.packages = with pkgs; [ + cargo + cargo-deny + clippy + evcxr + rust-analyzer + rustc + rustfmt + ]; +} diff --git a/hosts/rahu/configuration.nix b/hosts/rahu/configuration.nix index 8dbc361..b44b253 100644 --- a/hosts/rahu/configuration.nix +++ b/hosts/rahu/configuration.nix @@ -21,7 +21,7 @@ PHOTOPRISM_ADMIN_USER = "user"; }; }; - + # Bootloader. boot.loader.systemd-boot.enable = true; boot.loader.timeout = 1;