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.
|
||||
./hardware-configuration.nix
|
||||
|
||||
# Hardware support for Moonlander & U2F
|
||||
./modules/hardware.nix
|
||||
|
||||
./modules/audio.nix
|
||||
./modules/video.nix
|
||||
#./modules/v4l2loopback.nix
|
||||
|
@ -42,9 +45,6 @@ in
|
|||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
||||
# ------------ hardware -----------------------------------------------------
|
||||
hardware.keyboard.zsa.enable = true;
|
||||
|
||||
# ------------ networking ---------------------------------------------------
|
||||
networking.hostName = "entropy"; # Define your hostname.
|
||||
networking.wireless = {
|
||||
|
@ -125,15 +125,6 @@ in
|
|||
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.fish.enable = true;
|
||||
programs.vim.defaultEditor = true;
|
||||
|
@ -158,10 +149,6 @@ in
|
|||
usbutils
|
||||
moreutils
|
||||
file
|
||||
## firmware tool for keyboard
|
||||
wally-cli
|
||||
## audio management
|
||||
pavucontrol
|
||||
## password management
|
||||
pass
|
||||
pinentry-curses
|
||||
|
@ -200,10 +187,11 @@ in
|
|||
gitAndTools.gitui
|
||||
## GitHub actions
|
||||
act
|
||||
## terminal, browsers, text editing
|
||||
kitty
|
||||
## terminal, browsers, text editing, note taking
|
||||
alacritty
|
||||
vscodium
|
||||
firefox-wayland
|
||||
obsidian
|
||||
## time tracking
|
||||
watson
|
||||
## file managers
|
||||
|
|
|
@ -3,6 +3,11 @@
|
|||
{
|
||||
# Enable sound.
|
||||
sound.enable = true;
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
pavucontrol
|
||||
];
|
||||
|
||||
# configure pulseaudio to work with bluetooth headsets using aptx
|
||||
hardware.pulseaudio = {
|
||||
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
|
||||
wl-clipboard
|
||||
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
|
||||
bemenu
|
||||
kanshi # replacement for autorandr
|
||||
|
|
Loading…
Reference in a new issue