2024-09-16 12:49:55 -07:00
|
|
|
{ pkgs, inputs, ... }:
|
|
|
|
{
|
|
|
|
# Configure system packages
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
|
|
vim
|
|
|
|
git
|
|
|
|
waybar
|
|
|
|
mako
|
|
|
|
libnotify
|
|
|
|
swww
|
|
|
|
kitty
|
|
|
|
rofi-wayland
|
|
|
|
kdePackages.kdeconnect-kde
|
|
|
|
inputs.nixos-conf-editor.packages.${system}.nixos-conf-editor
|
|
|
|
];
|
|
|
|
|
2024-09-16 16:03:52 -07:00
|
|
|
fonts.packages = with pkgs; [
|
|
|
|
nerdfonts
|
|
|
|
];
|
|
|
|
|
2024-09-16 12:49:55 -07:00
|
|
|
# Configure mouse and touchpad
|
|
|
|
services.libinput = {
|
|
|
|
enable = true;
|
|
|
|
mouse.naturalScrolling = true;
|
|
|
|
touchpad.naturalScrolling = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
# Enable flakes
|
|
|
|
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
|
|
|
|
|
|
|
# Configure bootloader
|
|
|
|
boot.loader.systemd-boot.enable = true;
|
|
|
|
boot.loader.efi.canTouchEfiVariables = true;
|
|
|
|
|
|
|
|
# Configure networking
|
|
|
|
networking.hostName = "joey-laptop";
|
|
|
|
networking.networkmanager.enable = true;
|
|
|
|
|
|
|
|
# Disable systemd's getty and autovt on tty1
|
|
|
|
systemd.services = {
|
|
|
|
"getty@tty1".enable = false;
|
|
|
|
"autovt@tty1".enable = false;
|
|
|
|
};
|
|
|
|
|
|
|
|
# Enable printing service
|
|
|
|
services.printing.enable = true;
|
|
|
|
|
|
|
|
# Configure audio
|
|
|
|
hardware.pulseaudio.enable = false;
|
|
|
|
security.rtkit.enable = true;
|
|
|
|
services.pipewire = {
|
|
|
|
enable = true;
|
|
|
|
alsa.enable = true;
|
|
|
|
alsa.support32Bit = true;
|
|
|
|
pulse.enable = true;
|
|
|
|
jack.enable = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
# Configure XDG
|
|
|
|
xdg.portal.enable = true;
|
|
|
|
xdg.portal.wlr.enable = true;
|
|
|
|
xdg.portal.extraPortals = with pkgs; [
|
|
|
|
xdg-desktop-portal-gtk
|
|
|
|
];
|
2024-09-16 16:03:52 -07:00
|
|
|
}
|