Clean up config a bit

This commit is contained in:
Felix Suchert 2022-03-31 10:46:12 +02:00
parent cb7acca728
commit f832d0daa9
Signed by: feliix42
GPG key ID: 24363525EA0E8A99
4 changed files with 31 additions and 19 deletions

View file

@ -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

View file

@ -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;

View 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
];
}

View file

@ -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