mirror of
https://github.com/Feliix42/dotfiles.git
synced 2024-11-22 14:06:30 +00:00
Clean up config a bit
This commit is contained in:
parent
cb7acca728
commit
f832d0daa9
4 changed files with 31 additions and 19 deletions
|
@ -15,6 +15,9 @@ in
|
||||||
[ # Include the results of the hardware scan.
|
[ # Include the results of the hardware scan.
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
|
|
||||||
|
# Hardware support for Moonlander & U2F
|
||||||
|
./modules/hardware.nix
|
||||||
|
|
||||||
./modules/audio.nix
|
./modules/audio.nix
|
||||||
./modules/video.nix
|
./modules/video.nix
|
||||||
#./modules/v4l2loopback.nix
|
#./modules/v4l2loopback.nix
|
||||||
|
@ -42,9 +45,6 @@ in
|
||||||
boot.loader.systemd-boot.enable = true;
|
boot.loader.systemd-boot.enable = true;
|
||||||
boot.loader.efi.canTouchEfiVariables = true;
|
boot.loader.efi.canTouchEfiVariables = true;
|
||||||
|
|
||||||
# ------------ hardware -----------------------------------------------------
|
|
||||||
hardware.keyboard.zsa.enable = true;
|
|
||||||
|
|
||||||
# ------------ networking ---------------------------------------------------
|
# ------------ networking ---------------------------------------------------
|
||||||
networking.hostName = "entropy"; # Define your hostname.
|
networking.hostName = "entropy"; # Define your hostname.
|
||||||
networking.wireless = {
|
networking.wireless = {
|
||||||
|
@ -125,15 +125,6 @@ in
|
||||||
pinentryFlavor = "curses";
|
pinentryFlavor = "curses";
|
||||||
};
|
};
|
||||||
|
|
||||||
services.udev.packages = [ pkgs.libu2f-host ];
|
|
||||||
|
|
||||||
## enable fingerprint reader
|
|
||||||
#services.fprintd.enable = true;
|
|
||||||
#security.pam.services.login.fprintAuth = true;
|
|
||||||
##security.pam.services.xscreensaver.fprintAuth = true;
|
|
||||||
#security.pam.services.sudo.fprintAuth = true;
|
|
||||||
|
|
||||||
|
|
||||||
# ------------ programs -----------------------------------------------------
|
# ------------ programs -----------------------------------------------------
|
||||||
programs.fish.enable = true;
|
programs.fish.enable = true;
|
||||||
programs.vim.defaultEditor = true;
|
programs.vim.defaultEditor = true;
|
||||||
|
@ -158,10 +149,6 @@ in
|
||||||
usbutils
|
usbutils
|
||||||
moreutils
|
moreutils
|
||||||
file
|
file
|
||||||
## firmware tool for keyboard
|
|
||||||
wally-cli
|
|
||||||
## audio management
|
|
||||||
pavucontrol
|
|
||||||
## password management
|
## password management
|
||||||
pass
|
pass
|
||||||
pinentry-curses
|
pinentry-curses
|
||||||
|
@ -200,10 +187,11 @@ in
|
||||||
gitAndTools.gitui
|
gitAndTools.gitui
|
||||||
## GitHub actions
|
## GitHub actions
|
||||||
act
|
act
|
||||||
## terminal, browsers, text editing
|
## terminal, browsers, text editing, note taking
|
||||||
kitty
|
alacritty
|
||||||
vscodium
|
vscodium
|
||||||
firefox-wayland
|
firefox-wayland
|
||||||
|
obsidian
|
||||||
## time tracking
|
## time tracking
|
||||||
watson
|
watson
|
||||||
## file managers
|
## file managers
|
||||||
|
|
|
@ -3,6 +3,11 @@
|
||||||
{
|
{
|
||||||
# Enable sound.
|
# Enable sound.
|
||||||
sound.enable = true;
|
sound.enable = true;
|
||||||
|
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
pavucontrol
|
||||||
|
];
|
||||||
|
|
||||||
# configure pulseaudio to work with bluetooth headsets using aptx
|
# configure pulseaudio to work with bluetooth headsets using aptx
|
||||||
hardware.pulseaudio = {
|
hardware.pulseaudio = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
20
entropy/nixos/modules/hardware.nix
Normal file
20
entropy/nixos/modules/hardware.nix
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
# Enable support for flashing new firmware onto my Moonlander
|
||||||
|
hardware.keyboard.zsa.enable = true;
|
||||||
|
|
||||||
|
services.udev.packages = [ pkgs.libu2f-host ];
|
||||||
|
|
||||||
|
## enable fingerprint reader
|
||||||
|
#services.fprintd.enable = true;
|
||||||
|
#security.pam.services.login.fprintAuth = true;
|
||||||
|
##security.pam.services.xscreensaver.fprintAuth = true;
|
||||||
|
#security.pam.services.sudo.fprintAuth = true;
|
||||||
|
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
# tool for flashing firmware
|
||||||
|
wally-cli
|
||||||
|
];
|
||||||
|
|
||||||
|
}
|
|
@ -11,7 +11,6 @@
|
||||||
waybar
|
waybar
|
||||||
wl-clipboard
|
wl-clipboard
|
||||||
mako # notification daemon
|
mako # notification daemon
|
||||||
alacritty # Alacritty is the default terminal in the config
|
|
||||||
#dmenu # Dmenu is the default in the config but i recommend wofi since its wayland native
|
#dmenu # Dmenu is the default in the config but i recommend wofi since its wayland native
|
||||||
bemenu
|
bemenu
|
||||||
kanshi # replacement for autorandr
|
kanshi # replacement for autorandr
|
||||||
|
|
Loading…
Reference in a new issue