😍✋🍆🩸
This commit is contained in:
0
configs/.bin/fzip
Normal file
0
configs/.bin/fzip
Normal file
@ -48,48 +48,32 @@ in
|
|||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
ack
|
ack
|
||||||
atop
|
|
||||||
borgbackup
|
borgbackup
|
||||||
bpytop
|
|
||||||
broot
|
broot
|
||||||
btrfs-progs
|
btrfs-progs
|
||||||
bwm_ng
|
bwm_ng
|
||||||
cargo
|
cargo
|
||||||
dfc
|
|
||||||
exa
|
exa
|
||||||
ffmpeg
|
ffmpeg
|
||||||
git
|
|
||||||
git-secret
|
|
||||||
glances
|
|
||||||
gnupg
|
gnupg
|
||||||
gocryptfs
|
gocryptfs
|
||||||
home-manager
|
home-manager
|
||||||
htop
|
|
||||||
inxi
|
inxi
|
||||||
iotop
|
iotop
|
||||||
kubectl
|
|
||||||
lm_sensors
|
lm_sensors
|
||||||
lsd
|
lsd
|
||||||
lsof
|
lsof
|
||||||
manpages
|
manpages
|
||||||
ncdu
|
|
||||||
neofetch
|
|
||||||
nix-du
|
nix-du
|
||||||
nmap
|
nmap
|
||||||
nodejs
|
nodejs
|
||||||
pciutils
|
pciutils
|
||||||
pstree
|
|
||||||
ranger
|
|
||||||
ruby
|
ruby
|
||||||
sshfs
|
|
||||||
tealdeer
|
tealdeer
|
||||||
tree
|
|
||||||
unixtools.xxd
|
unixtools.xxd
|
||||||
unzip
|
unzip
|
||||||
usbutils
|
usbutils
|
||||||
wget
|
wget
|
||||||
youtube-dl
|
|
||||||
zsh
|
|
||||||
graphviz
|
graphviz
|
||||||
nix-tree
|
nix-tree
|
||||||
];
|
];
|
||||||
|
@ -51,7 +51,6 @@
|
|||||||
ponymix
|
ponymix
|
||||||
prusa-slicer
|
prusa-slicer
|
||||||
pulseaudio-ctl
|
pulseaudio-ctl
|
||||||
python39Packages.python-miio
|
|
||||||
python39Packages.pyyaml
|
python39Packages.pyyaml
|
||||||
solaar
|
solaar
|
||||||
sxhkd
|
sxhkd
|
||||||
|
@ -11,26 +11,26 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
|
arandr
|
||||||
|
baobab
|
||||||
bitwarden
|
bitwarden
|
||||||
|
blueberry
|
||||||
|
gnome.cheese
|
||||||
gnome.eog
|
gnome.eog
|
||||||
gnome.file-roller
|
gnome.file-roller
|
||||||
gnome.gnome-calculator
|
gnome.gnome-calculator
|
||||||
gnome.seahorse
|
gnome.seahorse
|
||||||
gnome.cheese
|
|
||||||
homebank
|
homebank
|
||||||
|
lutris
|
||||||
rpi-imager
|
rpi-imager
|
||||||
signal-desktop
|
signal-desktop
|
||||||
spotify
|
spotify
|
||||||
steam
|
steam
|
||||||
|
discord
|
||||||
|
lxrandr
|
||||||
teams
|
teams
|
||||||
unrar
|
unrar
|
||||||
wine
|
wine
|
||||||
baobab
|
|
||||||
steam-tui
|
|
||||||
blueberry
|
|
||||||
lutris
|
|
||||||
teams
|
|
||||||
arandr
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -101,7 +101,6 @@
|
|||||||
ms-azuretools.vscode-docker
|
ms-azuretools.vscode-docker
|
||||||
ms-vsliveshare.vsliveshare
|
ms-vsliveshare.vsliveshare
|
||||||
#hsnazar.hyper-term-theme
|
#hsnazar.hyper-term-theme
|
||||||
#rafaelmaiolla.remote-vscode
|
|
||||||
eamodio.gitlens
|
eamodio.gitlens
|
||||||
];
|
];
|
||||||
# userSettings = {
|
# userSettings = {
|
||||||
@ -145,6 +144,11 @@
|
|||||||
|
|
||||||
mpv = {
|
mpv = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
config = {
|
||||||
|
hwdec = "auto-safe";
|
||||||
|
vo = "gpu";
|
||||||
|
profile = "gpu-hq";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
@ -296,9 +300,9 @@
|
|||||||
"super + shift + comma" = "bspc node @/ --circulate forward";
|
"super + shift + comma" = "bspc node @/ --circulate forward";
|
||||||
"super + {1-9,0}" = "bspc desktop -f '{I,II,III,IV,V,VI,VII,VIII,IX,X}' && notify-send `bspc query -D -d --names`";
|
"super + {1-9,0}" = "bspc desktop -f '{I,II,III,IV,V,VI,VII,VIII,IX,X}' && notify-send `bspc query -D -d --names`";
|
||||||
"super + shift + {1-9,0}" = "bspc node -d '{I,II,III,IV,V,VI,VII,VIII,IX,X}'";
|
"super + shift + {1-9,0}" = "bspc node -d '{I,II,III,IV,V,VI,VII,VIII,IX,X}'";
|
||||||
"XF86AudioMute" = "pulseaudio-ctl mute";
|
# "XF86AudioMute" = "pulseaudio-ctl mute";
|
||||||
"XF86AudioLowerVolume" = "pulseaudio-ctl down";
|
# "XF86AudioLowerVolume" = "pulseaudio-ctl down";
|
||||||
"XF86AudioRaiseVolume" = "pulseaudio-ctl up";
|
# "XF86AudioRaiseVolume" = "pulseaudio-ctl up";
|
||||||
"Print" = "flameshot gui";
|
"Print" = "flameshot gui";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@ -330,6 +334,10 @@
|
|||||||
package = pkgs.pantheon.elementary-icon-theme;
|
package = pkgs.pantheon.elementary-icon-theme;
|
||||||
};
|
};
|
||||||
windowManager = {
|
windowManager = {
|
||||||
|
command = pkgs.lib.mkForce ''
|
||||||
|
${pkgs.bspwm}/bin/bspwm -c ~/.config/bspwm/bspwmrc &
|
||||||
|
${pkgs.xfce.xfce4-session}/bin/xfce4-session
|
||||||
|
'';
|
||||||
bspwm = {
|
bspwm = {
|
||||||
enable = true;
|
enable = true;
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
|
@ -21,7 +21,27 @@
|
|||||||
environment.pathsToLink = [ "/share/zsh" ];
|
environment.pathsToLink = [ "/share/zsh" ];
|
||||||
|
|
||||||
home-manager.users.alex = { pkgs, ... }: {
|
home-manager.users.alex = { pkgs, ... }: {
|
||||||
home.enableNixpkgsReleaseCheck = false;
|
|
||||||
|
|
||||||
|
home = {
|
||||||
|
enableNixpkgsReleaseCheck = false;
|
||||||
|
packages = with pkgs; [
|
||||||
|
atop
|
||||||
|
bpytop
|
||||||
|
dfc
|
||||||
|
git-secret
|
||||||
|
glances
|
||||||
|
htop
|
||||||
|
kubectl
|
||||||
|
ncdu
|
||||||
|
neofetch
|
||||||
|
pstree
|
||||||
|
ranger
|
||||||
|
sshfs
|
||||||
|
tree
|
||||||
|
youtube-dl
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
syncthing = {
|
syncthing = {
|
||||||
@ -90,6 +110,8 @@
|
|||||||
userName = "Alexander Szczepanski";
|
userName = "Alexander Szczepanski";
|
||||||
userEmail = "alexander@szczepan.ski";
|
userEmail = "alexander@szczepan.ski";
|
||||||
extraConfig = {
|
extraConfig = {
|
||||||
|
core = { autocrlf = false; };
|
||||||
|
color = { ui = "auto"; };
|
||||||
push = { default = "current"; };
|
push = { default = "current"; };
|
||||||
pull = { rebase = true; };
|
pull = { rebase = true; };
|
||||||
credential.helper = "${
|
credential.helper = "${
|
||||||
|
@ -13,7 +13,6 @@ in
|
|||||||
../configs/common.nix
|
../configs/common.nix
|
||||||
../configs/user-gui.nix
|
../configs/user-gui.nix
|
||||||
../configs/user.nix
|
../configs/user.nix
|
||||||
../configs/desktop.nix
|
|
||||||
];
|
];
|
||||||
|
|
||||||
# Use the systemd-boot EFI boot loader.
|
# Use the systemd-boot EFI boot loader.
|
||||||
|
@ -11,7 +11,6 @@ in
|
|||||||
../configs/common.nix
|
../configs/common.nix
|
||||||
../configs/user.nix
|
../configs/user.nix
|
||||||
../configs/user-gui.nix
|
../configs/user-gui.nix
|
||||||
../configs/desktop.nix
|
|
||||||
];
|
];
|
||||||
|
|
||||||
# Use the GRUB 2 boot loader.
|
# Use the GRUB 2 boot loader.
|
||||||
|
55
machine/raspberrypi4.nix
Normal file
55
machine/raspberrypi4.nix
Normal file
@ -0,0 +1,55 @@
|
|||||||
|
{ config, pkgs, lib, ... }:
|
||||||
|
{
|
||||||
|
imports =
|
||||||
|
[
|
||||||
|
# <nixos-hardware/common/cpu/intel>
|
||||||
|
/etc/nixos/hardware-configuration.nix
|
||||||
|
#../configs/docker.nix
|
||||||
|
../configs/common.nix
|
||||||
|
../configs/user.nix
|
||||||
|
];
|
||||||
|
|
||||||
|
# Boot
|
||||||
|
boot.loader.grub.enable = false;
|
||||||
|
boot.loader.raspberryPi.enable = true;
|
||||||
|
boot.loader.raspberryPi.version = 4;
|
||||||
|
|
||||||
|
# Kernel configuration
|
||||||
|
boot.kernelPackages = pkgs.linuxPackages_rpi4;
|
||||||
|
boot.kernelParams = ["cma=64M" "console=tty0"];
|
||||||
|
|
||||||
|
# Enable additional firmware (such as Wi-Fi drivers).
|
||||||
|
hardware.enableRedistributableFirmware = true;
|
||||||
|
|
||||||
|
# # Filesystems
|
||||||
|
# fileSystems = {
|
||||||
|
# # There is no U-Boot on the Pi 4 (yet) -- the firmware partition has to be mounted as /boot.
|
||||||
|
# "/boot" = {
|
||||||
|
# device = "/dev/disk/by-label/FIRMWARE";
|
||||||
|
# fsType = "vfat";
|
||||||
|
# };
|
||||||
|
# "/" = {
|
||||||
|
# device = "/dev/disk/by-label/NIXOS_SD";
|
||||||
|
# fsType = "ext4";
|
||||||
|
# };
|
||||||
|
# };
|
||||||
|
|
||||||
|
swapDevices = [ { device = "/swapfile"; size = 1024; } ];
|
||||||
|
|
||||||
|
networking.hostName = "raspberrypi4";
|
||||||
|
|
||||||
|
# Packages
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
nano git htop
|
||||||
|
];
|
||||||
|
|
||||||
|
# Miscellaneous
|
||||||
|
time.timeZone = "Europe/Berlin"; # you probably want to change this -- otherwise, ciao!
|
||||||
|
|
||||||
|
# WARNING: if you remove this, then you need to assign a password to your user, otherwise
|
||||||
|
# `sudo` won't work. You can do that either by using `passwd` after the first rebuild or
|
||||||
|
# by setting an hashed password in the `users.users.yourName` block as `initialHashedPassword`.
|
||||||
|
security.sudo.wheelNeedsPassword = false;
|
||||||
|
|
||||||
|
system.stateVersion = "21.05";
|
||||||
|
}
|
@ -23,7 +23,6 @@ in
|
|||||||
../configs/common.nix
|
../configs/common.nix
|
||||||
../configs/user.nix
|
../configs/user.nix
|
||||||
../configs/user-gui.nix
|
../configs/user-gui.nix
|
||||||
../configs/desktop.nix
|
|
||||||
];
|
];
|
||||||
|
|
||||||
# boot.initrd.luks.devices = {
|
# boot.initrd.luks.devices = {
|
||||||
|
Reference in New Issue
Block a user