PROGGERS
This commit is contained in:
@ -45,21 +45,6 @@
|
||||
supportedFilesystems = [ "ntfs" ];
|
||||
};
|
||||
|
||||
networking = {
|
||||
hostName = "poggers";
|
||||
networkmanager.enable = true;
|
||||
firewall = {
|
||||
enable = true;
|
||||
allowedTCPPorts = [
|
||||
80
|
||||
1337
|
||||
8080
|
||||
3000
|
||||
8000
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
time.timeZone = "Europe/Berlin";
|
||||
console = {
|
||||
font = "Lat2-Terminus16";
|
||||
@ -73,204 +58,11 @@
|
||||
];
|
||||
};
|
||||
|
||||
services = {
|
||||
libinput = {
|
||||
enable = true;
|
||||
};
|
||||
pipewire = {
|
||||
enable = true;
|
||||
pulse.enable = true;
|
||||
wireplumber.enable = true;
|
||||
};
|
||||
mullvad-vpn = {
|
||||
enable = true;
|
||||
};
|
||||
sdrplayApi = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
hardware = {
|
||||
bluetooth = {
|
||||
enable = true;
|
||||
};
|
||||
graphics = {
|
||||
enable = true;
|
||||
};
|
||||
rtl-sdr = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
programs = {
|
||||
nix-ld.enable = true;
|
||||
fish.enable = true;
|
||||
};
|
||||
|
||||
virtualisation = {
|
||||
docker = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
users = {
|
||||
defaultUserShell = pkgs.fish;
|
||||
users = {
|
||||
fabian = {
|
||||
useDefaultShell = true;
|
||||
shell = pkgs.fish;
|
||||
isNormalUser = true;
|
||||
initialPassword = "1601";
|
||||
extraGroups = [
|
||||
"wheel"
|
||||
"docker"
|
||||
"audio"
|
||||
"video"
|
||||
"dialout"
|
||||
"plugdev"
|
||||
"adbusers"
|
||||
"kvm"
|
||||
"dialout"
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
# sys
|
||||
unzip
|
||||
yt-dlp
|
||||
inetutils
|
||||
git
|
||||
wget
|
||||
curl
|
||||
dosfstools
|
||||
ntfs3g
|
||||
waybar
|
||||
xdg-desktop-portal-hyprland
|
||||
grim
|
||||
slurp
|
||||
feh
|
||||
gnumake
|
||||
flameshot
|
||||
tree
|
||||
gdb
|
||||
vscode
|
||||
pavucontrol
|
||||
usbutils
|
||||
alsa-utils
|
||||
neovide
|
||||
|
||||
# cli
|
||||
neofetch
|
||||
fastfetch
|
||||
onefetch
|
||||
vim
|
||||
weechat
|
||||
ranger
|
||||
eza
|
||||
fzf
|
||||
htop
|
||||
btop
|
||||
kew
|
||||
jq
|
||||
|
||||
# dev
|
||||
rustup
|
||||
python3
|
||||
python312Packages.pip
|
||||
nodejs
|
||||
gccgo14
|
||||
go
|
||||
dotnet-sdk
|
||||
bear
|
||||
android-tools
|
||||
android-udev-rules
|
||||
android-studio-tools
|
||||
|
||||
wine
|
||||
winetricks
|
||||
|
||||
# embedded
|
||||
espup
|
||||
esphome
|
||||
esptool
|
||||
ethtool
|
||||
espflash
|
||||
minicom
|
||||
pulseview
|
||||
cp210x-program
|
||||
arduino-ide
|
||||
arduino-cli
|
||||
flashrom
|
||||
binwalk
|
||||
chirp
|
||||
picocom
|
||||
pwndbg
|
||||
gdb
|
||||
minipro
|
||||
|
||||
# LSPs
|
||||
nixd
|
||||
arduino-language-server
|
||||
|
||||
# libs
|
||||
python312Packages.pyserial
|
||||
python312Packages.meshtastic
|
||||
|
||||
# virt
|
||||
qemu
|
||||
|
||||
# SDR
|
||||
noaa-apt
|
||||
wsjtx
|
||||
qsstv
|
||||
gpredict
|
||||
sdrangel
|
||||
sdrpp
|
||||
gnuradio
|
||||
cubicsdr
|
||||
gqrx
|
||||
multimon-ng
|
||||
|
||||
# misc
|
||||
cava
|
||||
vesktop
|
||||
pacman
|
||||
wf-recorder
|
||||
qbittorrent
|
||||
];
|
||||
|
||||
security = {
|
||||
doas = {
|
||||
enable = true;
|
||||
extraRules = [
|
||||
{
|
||||
users = [ "fabian" ];
|
||||
noPass = true;
|
||||
keepEnv = true;
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
fonts = {
|
||||
fontconfig.enable = true;
|
||||
packages = with pkgs; [
|
||||
noto-fonts
|
||||
noto-fonts-emoji
|
||||
liberation_ttf
|
||||
fira-code
|
||||
fira-code-symbols
|
||||
fantasque-sans-mono
|
||||
mplus-outline-fonts.githubRelease
|
||||
dina-font
|
||||
proggyfonts
|
||||
pkgs.nerd-fonts._0xproto
|
||||
pkgs.nerd-fonts.droid-sans-mono
|
||||
];
|
||||
};
|
||||
|
||||
environment.etc = {
|
||||
"makepkg.conf".source = "${pkgs.pacman}/etc/makepkg.conf";
|
||||
"pacman.conf".source = ./modules/system/raw/pacman.conf;
|
||||
|
16
modules/system/nix/boot.nix
Normal file
16
modules/system/nix/boot.nix
Normal file
@ -0,0 +1,16 @@
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
boot = {
|
||||
loader = {
|
||||
systemd-boot = {
|
||||
enable = true;
|
||||
};
|
||||
grub = {
|
||||
enable = false;
|
||||
device = "/dev/sda";
|
||||
useOSProber = true;
|
||||
};
|
||||
};
|
||||
supportedFilesystems = [ "ntfs" ];
|
||||
};
|
||||
}
|
@ -4,11 +4,17 @@
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
./dns.nix
|
||||
./gaming.nix
|
||||
./firefox.nix
|
||||
./x/dwm/default.nix
|
||||
./nvim/default.nix
|
||||
#./x/slstatus/default.nix
|
||||
./networking.nix
|
||||
./users.nix
|
||||
./services.nix
|
||||
./gaming.nix
|
||||
./firefox.nix
|
||||
./pkgs.nix
|
||||
./sec.nix
|
||||
./virt.nix
|
||||
./boot.nix
|
||||
./hw.nix
|
||||
];
|
||||
}
|
||||
|
@ -1,12 +0,0 @@
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
dhcpcd
|
||||
];
|
||||
networking = {
|
||||
nameservers = [
|
||||
"192.168.0.122"
|
||||
"1.1.1.1"
|
||||
];
|
||||
};
|
||||
}
|
15
modules/system/nix/hw.nix
Normal file
15
modules/system/nix/hw.nix
Normal file
@ -0,0 +1,15 @@
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
hardware = {
|
||||
bluetooth = {
|
||||
enable = true;
|
||||
};
|
||||
graphics = {
|
||||
enable = true;
|
||||
};
|
||||
rtl-sdr = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
}
|
18
modules/system/nix/networking.nix
Normal file
18
modules/system/nix/networking.nix
Normal file
@ -0,0 +1,18 @@
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
networking = {
|
||||
hostName = "poggers";
|
||||
networkmanager.enable = true;
|
||||
firewall = {
|
||||
enable = true;
|
||||
allowedTCPPorts = [
|
||||
80
|
||||
1337
|
||||
8080
|
||||
3000
|
||||
8000
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
}
|
125
modules/system/nix/pkgs.nix
Normal file
125
modules/system/nix/pkgs.nix
Normal file
@ -0,0 +1,125 @@
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
# sys
|
||||
unzip
|
||||
yt-dlp
|
||||
inetutils
|
||||
git
|
||||
wget
|
||||
curl
|
||||
dosfstools
|
||||
ntfs3g
|
||||
waybar
|
||||
xdg-desktop-portal-hyprland
|
||||
grim
|
||||
slurp
|
||||
feh
|
||||
gnumake
|
||||
flameshot
|
||||
tree
|
||||
gdb
|
||||
vscode
|
||||
pavucontrol
|
||||
usbutils
|
||||
alsa-utils
|
||||
neovide
|
||||
|
||||
# cli
|
||||
neofetch
|
||||
fastfetch
|
||||
onefetch
|
||||
vim
|
||||
weechat
|
||||
ranger
|
||||
eza
|
||||
fzf
|
||||
htop
|
||||
btop
|
||||
kew
|
||||
jq
|
||||
|
||||
# dev
|
||||
rustup
|
||||
python3
|
||||
python312Packages.pip
|
||||
nodejs
|
||||
gccgo14
|
||||
go
|
||||
dotnet-sdk
|
||||
bear
|
||||
android-tools
|
||||
android-udev-rules
|
||||
android-studio-tools
|
||||
|
||||
wine
|
||||
winetricks
|
||||
|
||||
# embedded
|
||||
espup
|
||||
esphome
|
||||
esptool
|
||||
ethtool
|
||||
espflash
|
||||
minicom
|
||||
pulseview
|
||||
cp210x-program
|
||||
arduino-ide
|
||||
arduino-cli
|
||||
flashrom
|
||||
binwalk
|
||||
chirp
|
||||
picocom
|
||||
pwndbg
|
||||
gdb
|
||||
minipro
|
||||
|
||||
# LSPs
|
||||
nixd
|
||||
arduino-language-server
|
||||
|
||||
# libs
|
||||
python312Packages.pyserial
|
||||
python312Packages.meshtastic
|
||||
|
||||
# virt
|
||||
qemu
|
||||
|
||||
# SDR
|
||||
noaa-apt
|
||||
wsjtx
|
||||
qsstv
|
||||
gpredict
|
||||
sdrangel
|
||||
sdrpp
|
||||
gnuradio
|
||||
cubicsdr
|
||||
gqrx
|
||||
multimon-ng
|
||||
|
||||
# misc
|
||||
cava
|
||||
vesktop
|
||||
pacman
|
||||
wf-recorder
|
||||
qbittorrent
|
||||
];
|
||||
|
||||
fonts = {
|
||||
fontconfig.enable = true;
|
||||
packages = with pkgs; [
|
||||
noto-fonts
|
||||
noto-fonts-emoji
|
||||
liberation_ttf
|
||||
fira-code
|
||||
fira-code-symbols
|
||||
fantasque-sans-mono
|
||||
mplus-outline-fonts.githubRelease
|
||||
dina-font
|
||||
proggyfonts
|
||||
pkgs.nerd-fonts._0xproto
|
||||
pkgs.nerd-fonts.droid-sans-mono
|
||||
];
|
||||
};
|
||||
|
||||
}
|
15
modules/system/nix/sec.nix
Normal file
15
modules/system/nix/sec.nix
Normal file
@ -0,0 +1,15 @@
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
security = {
|
||||
doas = {
|
||||
enable = true;
|
||||
extraRules = [
|
||||
{
|
||||
users = [ "fabian" ];
|
||||
noPass = true;
|
||||
keepEnv = true;
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
20
modules/system/nix/services.nix
Normal file
20
modules/system/nix/services.nix
Normal file
@ -0,0 +1,20 @@
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
services = {
|
||||
libinput = {
|
||||
enable = true;
|
||||
};
|
||||
pipewire = {
|
||||
enable = true;
|
||||
pulse.enable = true;
|
||||
wireplumber.enable = true;
|
||||
};
|
||||
mullvad-vpn = {
|
||||
enable = true;
|
||||
package = pkgs.mullvad-vpn;
|
||||
};
|
||||
sdrplayApi = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
}
|
25
modules/system/nix/users.nix
Normal file
25
modules/system/nix/users.nix
Normal file
@ -0,0 +1,25 @@
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
users = {
|
||||
defaultUserShell = pkgs.fish;
|
||||
users = {
|
||||
fabian = {
|
||||
useDefaultShell = true;
|
||||
shell = pkgs.fish;
|
||||
isNormalUser = true;
|
||||
initialPassword = "1601";
|
||||
extraGroups = [
|
||||
"wheel"
|
||||
"docker"
|
||||
"audio"
|
||||
"video"
|
||||
"dialout"
|
||||
"plugdev"
|
||||
"adbusers"
|
||||
"kvm"
|
||||
"dialout"
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
9
modules/system/nix/virt.nix
Normal file
9
modules/system/nix/virt.nix
Normal file
@ -0,0 +1,9 @@
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
virtualisation = {
|
||||
docker = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
}
|
Reference in New Issue
Block a user