Created headful and headless files for upcoming changes
This commit is contained in:
parent
1eed0aa287
commit
2f097552b6
33
flake.nix
33
flake.nix
@ -18,19 +18,30 @@
|
|||||||
nixosConfigurations.randomctf = nixpkgs.lib.nixosSystem {
|
nixosConfigurations.randomctf = nixpkgs.lib.nixosSystem {
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
specialArgs = { inherit inputs; };
|
specialArgs = { inherit inputs; };
|
||||||
modules = [ ./config/shared.nix ./config/omen.nix ];
|
modules = [
|
||||||
};
|
./config/shared.nix
|
||||||
|
./config/omen.nix
|
||||||
nixosConfigurations.nixos-dev = nixpkgs.lib.nixosSystem {
|
home-manager.lib.homeManagerConfiguration {
|
||||||
system = "x86_64-linux";
|
|
||||||
specialArgs = { inherit inputs; };
|
|
||||||
modules = [ ./config/shared.nix ./config/vm.nix ];
|
|
||||||
};
|
|
||||||
|
|
||||||
homeConfigurations.random = home-manager.lib.homeManagerConfiguration {
|
|
||||||
pkgs = nixpkgs.legacyPackages."x86_64-linux";
|
pkgs = nixpkgs.legacyPackages."x86_64-linux";
|
||||||
modules = [
|
modules = [
|
||||||
./home/nixos.nix
|
./home/headful-nixos.nix
|
||||||
|
];
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
nixosConfigurations.default = nixpkgs.lib.nixosSystem {
|
||||||
|
system = "x86_64-linux";
|
||||||
|
specialArgs = { inherit inputs; };
|
||||||
|
modules = [
|
||||||
|
./config/shared.nix
|
||||||
|
./config/headless.nix
|
||||||
|
home-manager.lib.homeManagerConfiguration {
|
||||||
|
pkgs = nixpkgs.legacyPackages."x86_64-linux";
|
||||||
|
modules = [
|
||||||
|
./home/headless-nixos.nix
|
||||||
|
];
|
||||||
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
22
home/hacking.nix
Normal file
22
home/hacking.nix
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
{ inputs, config, pkgs, ... }: {
|
||||||
|
|
||||||
|
# Hacking specific packages.
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
yara
|
||||||
|
nmap
|
||||||
|
john
|
||||||
|
ffuf
|
||||||
|
nikto
|
||||||
|
sqlmap
|
||||||
|
thc-hydra
|
||||||
|
exploitdb
|
||||||
|
feroxbuster
|
||||||
|
(wordlists.override {
|
||||||
|
lists = with pkgs; [
|
||||||
|
rockyou
|
||||||
|
seclists
|
||||||
|
];
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
|
}
|
@ -7,6 +7,7 @@
|
|||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
./shared.nix
|
./shared.nix
|
||||||
|
./hacking.nix
|
||||||
./emacs.nix
|
./emacs.nix
|
||||||
./zsh.nix
|
./zsh.nix
|
||||||
];
|
];
|
27
home/headless-nixos.nix
Normal file
27
home/headless-nixos.nix
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
{ inputs, config, pkgs, ... }: {
|
||||||
|
|
||||||
|
home = {
|
||||||
|
username = "random";
|
||||||
|
homeDirectory = "/home/random";
|
||||||
|
};
|
||||||
|
|
||||||
|
imports = [
|
||||||
|
./shared.nix
|
||||||
|
./emacs.nix
|
||||||
|
./zsh.nix
|
||||||
|
];
|
||||||
|
|
||||||
|
home.packages = with pkgs; [];
|
||||||
|
|
||||||
|
home.file = {
|
||||||
|
".Xresources".source = ../dotfiles/.Xresources;
|
||||||
|
".scripts/brightness.sh".source = ../dotfiles/.scripts/brightness.sh;
|
||||||
|
".scripts/autostart_desktop.sh".source = ../dotfiles/.scripts/autostart_desktop.sh;
|
||||||
|
".screenlayout/launch.sh".source = ../dotfiles/.screenlayout/launch.sh;
|
||||||
|
".screenlayout/wallpapers.sh".source = ../dotfiles/.screenlayout/wallpapers.sh;
|
||||||
|
".config/i3/config".source = ../dotfiles/.config/i3/config;
|
||||||
|
".config/rofi/config.rasi".source = ../dotfiles/.config/rofi/config.rasi;
|
||||||
|
".config/polybar/config.ini".source = ../dotfiles/.config/polybar/config.ini;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
@ -1,5 +1,5 @@
|
|||||||
{ inputs, config, pkgs, ... }:
|
{ inputs, config, pkgs, ... }: {
|
||||||
{
|
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
fonts.fontconfig.enable = true;
|
fonts.fontconfig.enable = true;
|
||||||
|
|
||||||
@ -29,23 +29,6 @@
|
|||||||
cargo
|
cargo
|
||||||
python3
|
python3
|
||||||
gnumake
|
gnumake
|
||||||
|
|
||||||
# Hacking
|
|
||||||
yara
|
|
||||||
nmap
|
|
||||||
john
|
|
||||||
ffuf
|
|
||||||
nikto
|
|
||||||
sqlmap
|
|
||||||
thc-hydra
|
|
||||||
exploitdb
|
|
||||||
feroxbuster
|
|
||||||
(wordlists.override {
|
|
||||||
lists = with pkgs; [
|
|
||||||
rockyou
|
|
||||||
seclists
|
|
||||||
];
|
|
||||||
})
|
|
||||||
];
|
];
|
||||||
|
|
||||||
programs = {
|
programs = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user