mirror of
https://github.com/thiloho/nixos-config.git
synced 2025-11-22 11:31:36 +01:00
68 lines
1.5 KiB
Nix
68 lines
1.5 KiB
Nix
{ pkgs, ... }:
|
|
|
|
{
|
|
services.pipewire = {
|
|
enable = true;
|
|
alsa.enable = true;
|
|
alsa.support32Bit = true;
|
|
pulse.enable = true;
|
|
jack.enable = true;
|
|
};
|
|
|
|
services = {
|
|
xserver = {
|
|
enable = true;
|
|
displayManager.gdm.enable = true;
|
|
desktopManager.gnome.enable = true;
|
|
};
|
|
gnome.core-utilities.enable = false;
|
|
};
|
|
|
|
home-manager.users.thiloho = { pkgs, lib, config, ... }: {
|
|
programs = {
|
|
bash = {
|
|
enable = true;
|
|
shellAliases = {
|
|
cleanup = "nix store optimise && nix-collect-garbage -d && sudo nix store optimise && sudo nix-collect-garbage -d";
|
|
listboots = "nix profile history --profile /nix/var/nix/profiles/system";
|
|
};
|
|
};
|
|
alacritty = {
|
|
enable = true;
|
|
settings = {
|
|
window.opacity = 0.75;
|
|
font.size = 11.00;
|
|
};
|
|
};
|
|
firefox.enable = true;
|
|
chromium = {
|
|
enable = true;
|
|
extensions = [
|
|
{ id = "mmbiohbmijkiimgcgijfomelgpmdiigb"; }
|
|
{ id = "dhdgffkkebhmkfjojejmpbldmpobfkfo"; }
|
|
{ id = "cjpalhdlnbpafiamejdnhcphjbkeiagm"; }
|
|
];
|
|
};
|
|
vscode.enable = true;
|
|
git = {
|
|
enable = true;
|
|
userName = "thiloho";
|
|
userEmail = "123883702+thiloho@users.noreply.github.com";
|
|
signing = {
|
|
signByDefault = true;
|
|
};
|
|
};
|
|
};
|
|
home = {
|
|
packages = with pkgs; [
|
|
libreoffice
|
|
airshipper
|
|
prismlauncher
|
|
ventoy
|
|
tldr
|
|
steam
|
|
];
|
|
};
|
|
};
|
|
}
|