Compare commits
No commits in common. "f2ef0a4ce41828e297925f1b2d3cb1cc41bb42b3" and "42321b2da3c02b5d1001b1a3a18175b5ea90faa4" have entirely different histories.
f2ef0a4ce4
...
42321b2da3
4 changed files with 10 additions and 46 deletions
|
@ -20,10 +20,6 @@ in {
|
||||||
homeDirectory = "/home/${username}";
|
homeDirectory = "/home/${username}";
|
||||||
stateVersion = "24.05";
|
stateVersion = "24.05";
|
||||||
|
|
||||||
file = {
|
|
||||||
`/home/${username}/.scripts/audio/get-sink-name.sh`.source = ./home/scripts/audio/get-sink-name.sh;
|
|
||||||
};
|
|
||||||
|
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
alacritty
|
alacritty
|
||||||
cups
|
cups
|
||||||
|
@ -63,6 +59,7 @@ in {
|
||||||
pm2
|
pm2
|
||||||
plexamp
|
plexamp
|
||||||
polybar
|
polybar
|
||||||
|
pulseaudio
|
||||||
rofi
|
rofi
|
||||||
rofi-emoji
|
rofi-emoji
|
||||||
steam
|
steam
|
||||||
|
@ -74,7 +71,6 @@ in {
|
||||||
wget
|
wget
|
||||||
xclip
|
xclip
|
||||||
yarn
|
yarn
|
||||||
yt-dlp
|
|
||||||
zip
|
zip
|
||||||
zsh
|
zsh
|
||||||
zsh-powerlevel10k
|
zsh-powerlevel10k
|
||||||
|
|
|
@ -1,12 +0,0 @@
|
||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
SINK=$(pactl get-default-sink)
|
|
||||||
|
|
||||||
if [ $SINK = "alsa_output.pci-0000_1f_00.3.analog-stereo" ]; then
|
|
||||||
echo "Speakers"
|
|
||||||
elif [ $SINK = "alsa_output.usb-C-Media_Electronics_Inc._USB_Audio_Device-00.analog-stereo" ]; then
|
|
||||||
echo "Headphones"
|
|
||||||
else
|
|
||||||
echo "-"
|
|
||||||
fi
|
|
||||||
|
|
|
@ -53,3 +53,7 @@ key_bindings:
|
||||||
- { key: PageDown, mods: Shift, action: ScrollPageDown }
|
- { key: PageDown, mods: Shift, action: ScrollPageDown }
|
||||||
- { key: Home, mods: Shift, action: ScrollToTop }
|
- { key: Home, mods: Shift, action: ScrollToTop }
|
||||||
- { key: End, mods: Shift, action: ScrollToBottom }
|
- { key: End, mods: Shift, action: ScrollToBottom }
|
||||||
|
|
||||||
|
shell:
|
||||||
|
program: /bin/zsh
|
||||||
|
|
||||||
|
|
|
@ -66,7 +66,6 @@
|
||||||
"flatpak"
|
"flatpak"
|
||||||
"wheel"
|
"wheel"
|
||||||
];
|
];
|
||||||
shell = pkgs.zsh
|
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.steam = {
|
programs.steam = {
|
||||||
|
@ -74,26 +73,6 @@
|
||||||
remotePlay.openFirewall = true;
|
remotePlay.openFirewall = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.zsh = {
|
|
||||||
enable = true;
|
|
||||||
programs.zsh.promptInit = "source ${pkgs.zsh-powerlevel10k}/share/zsh-powerlevel10k/powerlevel10k.zsh-theme";
|
|
||||||
|
|
||||||
shellAliases = {
|
|
||||||
lss = "ls -lah";
|
|
||||||
|
|
||||||
gss = "git status -s";
|
|
||||||
gaa = "git add -A";
|
|
||||||
gcm = "git commit -m";
|
|
||||||
gco = "git checkout";
|
|
||||||
|
|
||||||
yt-mp3 = "yt-mp3 -xi --audio-format mp3";
|
|
||||||
yt-mp3-meta = "yt-mp3 -xi --audio-format mp3 --parse-metadata \"playlist_index:%(track_number)s\" --add-metadata";
|
|
||||||
yt-mp3-meta-cookies = "yt-mp3 -xi --audio-format mp3 --parse-metadata \"playlist_index:%(track_number)s\" --add-metadata --cookies-from-browser firefox";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
programs.neovim.defaultEditor = true;
|
|
||||||
|
|
||||||
fonts = {
|
fonts = {
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
noto-fonts
|
noto-fonts
|
||||||
|
@ -114,18 +93,15 @@
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
docker
|
docker
|
||||||
pulseaudio
|
|
||||||
];
|
];
|
||||||
|
|
||||||
virtualisation.docker.enable = true;
|
virtualisation.docker.enable = true;
|
||||||
|
|
||||||
xdg.portal = {
|
xdg.portal = {
|
||||||
enable = true;
|
enable = true;
|
||||||
config.common.default = "*";
|
config.common.default = "*";
|
||||||
extraPortals = [pkgs.xdg-desktop-portal-gtk];
|
extraPortals = [pkgs.xdg-desktop-portal-gtk];
|
||||||
};
|
};
|
||||||
|
|
||||||
hardware.pulseaudio.enable = true;
|
|
||||||
|
|
||||||
system.stateVersion = "24.05";
|
system.stateVersion = "24.05";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue