From ebc086934b9b0e6d0776577126ee1c4f442663f5 Mon Sep 17 00:00:00 2001 From: Kyle Isom Date: Tue, 6 May 2025 18:44:48 -0700 Subject: [PATCH] move pkgs to new config file --- configs/pkgs.nix | 91 ++++++++++++++++++++++++++++++++++++++++++++ configuration.nix | 89 ------------------------------------------- script/rebuild-nixos | 5 +++ 3 files changed, 96 insertions(+), 89 deletions(-) create mode 100644 configs/pkgs.nix create mode 100755 script/rebuild-nixos diff --git a/configs/pkgs.nix b/configs/pkgs.nix new file mode 100644 index 0000000..b52764b --- /dev/null +++ b/configs/pkgs.nix @@ -0,0 +1,91 @@ +{ + # List packages installed in system profile. To search, run: + # $ nix search wget + environment.systemPackages = with pkgs; [ + acpitool + arduino + arduino-cli + arduino-ide + arduino-mk + bibclean + binutils-unwrapped + bitwarden + brave + cloc + cmake + cmus + cscope + direnv + dive + dmenu + doas + docker-compose + elinks + emacs + feh + ffmpeg + file + fira-code + firefox + fzf + gcc + gdb + gforth + ghostty + git + gnome-disk-utility + gnumake + go + go-font + graphviz + hexyl + htop + i3 + i3lock + imagemagick + jpegoptim + keychain + ksshaskpass + lagrange + libfixposix + libzip + man-pages + mercurial + mg + mutt + nmap + nyxt + obsidian + ops + pavucontrol + pciutils + pkg-config + picocom + podman-compose + podman-tui + pwgen + python3Full + rlwrap + rofi + sbcl + scdoc + scrot + silver-searcher + sqlite-interactive + stumpwm + syncthing + tailscale + tcpdump + texinfo + texliveFull + tmux + tree + udisks + xfce.thunar + xfce.thunar-volman + xfce.xfce4-power-manager + xss-lock + wget + woff2 + ]; +} diff --git a/configuration.nix b/configuration.nix index 49d8d79..19a2a5e 100644 --- a/configuration.nix +++ b/configuration.nix @@ -170,95 +170,6 @@ }; }; - # List packages installed in system profile. To search, run: - # $ nix search wget - environment.systemPackages = with pkgs; [ - acpitool - arduino - arduino-cli - arduino-ide - arduino-mk - binutils-unwrapped - bitwarden - brave - cloc - cmake - cmus - cscope - direnv - dive - dmenu - doas - docker-compose - elinks - emacs - feh - ffmpeg - file - fira-code - firefox - fzf - gcc - gdb - gforth - ghostty - git - gnome-disk-utility - gnumake - go - go-font - graphviz - hexyl - htop - i3 - i3lock - imagemagick - jpegoptim - keychain - ksshaskpass - lagrange - libfixposix - libzip - man-pages - mercurial - mg - mutt - nmap - nyxt - obsidian - ops - pavucontrol - pciutils - pkg-config - picocom - podman-compose - podman-tui - pwgen - python3Full - rlwrap - rofi - sbcl - scdoc - scrot - silver-searcher - sqlite-interactive - stumpwm - syncthing - tailscale - tcpdump - texinfo - texliveFull - tmux - tree - udisks - xfce.thunar - xfce.thunar-volman - xfce.xfce4-power-manager - xss-lock - wget - woff2 - ]; - services.tailscale.enable = true; services.syncthing.enable = true; diff --git a/script/rebuild-nixos b/script/rebuild-nixos new file mode 100755 index 0000000..ab4f621 --- /dev/null +++ b/script/rebuild-nixos @@ -0,0 +1,5 @@ +#!/usr/bin/env bash + +cd /etc/nixos +doas git pull --rebase local master +doas nixos-rebuild switch --flake .