PwNixOS

所属分类:Linux/Unix编程
开发工具:Shell
文件大小:0KB
下载次数:0
上传日期:2023-09-25 16:44:31
上 传 者sh-1993
说明:  普华永道NixOS——一款专注于生产力和面向黑客攻击的NixOS Flake
(PwNixOS - A Productivity Focused and Hacking-Oriented NixOS Flake)

文件列表:
LICENSE (1073, 2023-09-25)
flake.lock (2498, 2023-09-25)
flake.nix (1680, 2023-09-25)
hosts/ (0, 2023-09-25)
hosts/pwnix/ (0, 2023-09-25)
hosts/pwnix/default.nix (318, 2023-09-25)
hosts/pwnix/hardware-configuration.nix (1600, 2023-09-25)
hosts/pwnix/user.nix (410, 2023-09-25)
lib/ (0, 2023-09-25)
lib/default.nix (55, 2023-09-25)
lib/mkSystem.nix (286, 2023-09-25)
modules/ (0, 2023-09-25)
modules/default.nix (223, 2023-09-25)
modules/direnv/ (0, 2023-09-25)
modules/direnv/default.nix (337, 2023-09-25)
modules/dunst/ (0, 2023-09-25)
modules/dunst/default.nix (1228, 2023-09-25)
modules/fuzzel/ (0, 2023-09-25)
modules/fuzzel/default.nix (352, 2023-09-25)
modules/fuzzel/fuzzel.ini (305, 2023-09-25)
modules/gtk/ (0, 2023-09-25)
modules/gtk/default.nix (913, 2023-09-25)
modules/hyprland/ (0, 2023-09-25)
modules/hyprland/default.nix (635, 2023-09-25)
modules/hyprland/hyprland.conf (3714, 2023-09-25)
modules/hyprland/hyprpaper.conf (136, 2023-09-25)
modules/intel/ (0, 2023-09-25)
modules/intel/default.nix (387, 2023-09-25)
modules/kitty/ (0, 2023-09-25)
modules/kitty/default.nix (320, 2023-09-25)
modules/kitty/kitty.conf (2184, 2023-09-25)
modules/neo4j/ (0, 2023-09-25)
modules/neo4j/default.nix (488, 2023-09-25)
modules/nvidia-optimus/ (0, 2023-09-25)
modules/nvidia-optimus/default.nix (595, 2023-09-25)
modules/packages/ (0, 2023-09-25)
modules/packages/default.nix (2256, 2023-09-25)
modules/podman/ (0, 2023-09-25)
modules/podman/default.nix (203, 2023-09-25)
... ...

# PwNixOS: A Productivity Focused and Hacking-Oriented NixOS Flake ![PwNixOS Logo](https://github.com/exploitoverload/PwNixOS/blob/master/pics/PwNixOS.png) ## Introduction Welcome to PwNixOS, a NixOS Flake that combines a strong focus on productivity with powerful tools for hacking. ## Screenshots ![Terminal](https://github.com/exploitoverload/PwNixOS/blob/master/pics/readme/terminal.png) ![Neovim and Gtk themes](https://github.com/exploitoverload/PwNixOS/blob/master/pics/readme/vim_and_gtk.png) ![Floating layout](https://github.com/exploitoverload/PwNixOS/blob/master/pics/readme/floating.png) ## Features ### UnixPorn at its core PwNixOS places a strong emphasis on delivering a top-notch graphical experience by providing a visually appealing and productivity-focused interface. ### Hacking Tools PwNixOS offers a wide array of tools and utilities out of the box to support your hacking endeavors. From advanced network analysis and penetration testing tools to powerful scripting languages and development environments, PwNixOS equips you with the necessary arsenal to explore and manipulate computer systems to your heart's content. ### Package Management with Nix One of the standout features of NixOS is its unique package management system called Nix. With Nix, you can easily install, update, and manage software packages on your system. What makes Nix special is its ability to provide isolated and reproducible environments for each package, ensuring that software installations do not interfere with one another. This allows for painless experimentation and easy rollback to previous configurations. ### Declarative Configuration NixOS follows a declarative approach to system configuration. Instead of making changes directly to the system, you define the desired state of your system in a configuration file or flake (like this one). This configuration specifies all the packages, services, and settings you want, providing a clear and reproducible blueprint for your system. This declarative nature simplifies system administration, enables easy replication of configurations across multiple machines, and facilitates version control of your system setup. ### Custom packages This flake has [custom hacking tools](https://github.com/exploitoverload/PwNixOS/blob/master/https://github.com/exploitoverload/PwNixOS-Packages) that are uploaded to the NUR. The purpose of these tools is to fill in the gaps that exist today in the official repositories and create a full arsenal of tools, with well-known tools such as [BloodHound](https://github.com/exploitoverload/PwNixOS/blob/master/https://github.com/BloodHoundAD/BloodHound) and lesser-known tools such as [psudohash](https://github.com/exploitoverload/PwNixOS/blob/master/https://github.com/t3l3machus/psudohash). ## Getting Started To get started with PwNixOS, follow these steps: 1. [Installation](https://github.com/exploitoverload/PwNixOS/blob/master/https://nixos.org/manual/nixos/stable/index.html#ch-installation): Install NixOS on your machine by following the official installation guide. 2. Clone this repo: `git clone https://github.com/exploitoverload/PwNixOS.git ~/.config/nixos` 3. Edit username: By default, the username for all the configuration is `d3fault` and the hostname is `pwnix`. You can change this as you want by editing in all the files (don't forget to rename the folder inside hosts). `grep -i -R d3fault ~/.config/nixos/` and `grep -i -R pwnix ~/.config/nixos/` are usefull. 4. Copy your specific hardware-configuration.nix file: You need to copy you hardware-configuration.nix file located at /etc/nixos/hardware-configuration.nix to the host folder. 5. Review default.nix file inside pwnix host folder. It contains the configuration for nvidia-optimus and intel graphics. You have to choose one, comment the other. 6. Enable Nix-Command and Flakes options: Edit your configuration.nix file located at /etc/nixos/configuration.nix adding this line -> `nix.settings.experimental-features = [ "nix-command" "flakes" ];`. 7. Rebuild your system (without the flake): Open a terminal and run -> `sudo nixos-rebuild switch`. 8. Apply the flake: Open a terminal and inside `~/.config/nixos/` run `sudo nixos-rebuild boot --flake --upgrade`. 9. Reboot and cross fingers. ## Keyboard Shortcuts ### General | Action | Shortcut | | ------ | -------- | | Launch Terminal (kitty) | `WIN` + `ENTER` | | Close App | `WIN` + `Q` | | Launch App Selector | `WIN` + `D` | | Show Power Menu | `WIN` + `X` | | Lock Screen | `WIN` + `L` | | Change Workspace | `WIN` + `1-9` | | Move focused app to Workspace | `WIN` + `SHIFT` + `1-9` | | Toggle floating mode in foused app | `WIN` + `V` | | Toggle fullscreen mode in focused app | `WIN` + `F` | | Take Screenshot (saved to clipboard) | `WIN` + `SHIFT` + `S` | | In Floating, move window | `WIN` + `RIGHT_CLICK` + `MOVE_MOUSE` | | In Floating, resize window | `WIN` + `LEFT_CLICK` + `MOVE_MOUSE` | | Move focus | `WIN` + `ARROW_KEYS` | | Move Apps in the workspace | `WIN` + `SHIFT` + `ARROW_KEYS` | | Resize Apps | `WIN` + `CTRL` + `ARROW_KEYS` | ### Terminal (Kitty) | Action | Shortcut | | ------ | -------- | | Copy selected text (Default Buffer) | `CTRL` + `SHIFT` + `C` | | Paste selected text (Default Buffer) | `CTRL` + `SHIFT` + `V` | | Copy selected text (Alternative Buffer 1) | `F1` | | Paste selected text (Alternative Buffer 1) | `F2` | | Copy selected text (Alternative Buffer 2) | `F3` | | Paste selected text (Alternative Buffer 2) | `F4` | | Show terminal history ([fzf](https://github.com/exploitoverload/PwNixOS/blob/master/https://github.com/junegunn/fzf)) | `CTRL` + `R` | | Search files recursively from current directory ([fzf](https://github.com/exploitoverload/PwNixOS/blob/master/https://github.com/junegunn/fzf)) | `CTRL` + `T` | | Create new pane inside the current tab | `CTRL` + `SHIFT` + `ENTER` | | Create new tab | `CTRL` + `SHIFT` + `T` | | Rename tab | `CTRL` + `SHIFT` + `ALT` + `T` | | Change to next tab | `CTRL` + `TAB` | | Close pane | `CTRL` + `SHIFT` + `W` | | Change layout | `CTRL` + `SHIFT` + `L` | | Move focus to pane (same tab) | `CTRL` + `ARROW_KEYS` | | Jump between words in a command | `ALT` + `LEFT/RIGHT` | | Change between keyboard layouts | `WIN` + `SPACE` | ## Special Considerations ### Neo4j start and stop In order to start or stop the service, it has to be done via systemd using the following commands ```zsh systemctl start neo4j systemctl stop neo4j ``` At the first start of the service, the neo4j user's password for the service must be configured using the web portal located at http://localhost:7474 ## TODO - [x] Add IP Addresses for current interface to waybar. - [x] Add click to copy IP in the network module of waybar. - [ ] Add [NvChad](https://github.com/exploitoverload/PwNixOS/blob/master/https://github.com/NvChad/NvChad) to the neovim configuration. For more detailed information and documentation, please refer to the [official NixOS manual](https://github.com/exploitoverload/PwNixOS/blob/master/https://nixos.org/manual/nixos/stable/index.html). ## Special thanks to: * [Notusknot dotfiles](https://github.com/exploitoverload/PwNixOS/blob/master/https://github.com/notusknot/dotfiles-nix) * [Catppuccin theme](https://github.com/exploitoverload/PwNixOS/blob/master/https://github.com/catppuccin/catppuccin) * [Rubyowo dotfiles](https://github.com/exploitoverload/PwNixOS/blob/master/https://github.com/rubyowo/dotfiles)

近期下载者

相关文件


收藏者