Add emacs service &switch to hls unstable due to a build error

This commit is contained in:
Felix Suchert 2022-04-13 17:37:59 +02:00
parent f832d0daa9
commit 24ccedea85
Signed by: feliix42
GPG key ID: 24363525EA0E8A99
3 changed files with 109 additions and 9 deletions

View file

@ -129,11 +129,15 @@ in
programs.fish.enable = true; programs.fish.enable = true;
programs.vim.defaultEditor = true; programs.vim.defaultEditor = true;
services.emacs = {
install = true;
enable = false;
};
# List of packages installed in system profile. # List of packages installed in system profile.
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
## basic command line tooling ## basic command line tooling
wget wget
emacs
w3m w3m
htop htop
bat bat
@ -169,7 +173,7 @@ in
## other programming languages and compilers ## other programming languages and compilers
stack stack
haskell-language-server unstable.haskell-language-server
gcc gcc
binutils-unwrapped binutils-unwrapped
gnumake gnumake

View file

@ -8,6 +8,96 @@
pavucontrol pavucontrol
]; ];
## use Pipewire instead.
#hardware.pulseaudio.enable = false;
## rtkit is optional but recommended
#security.rtkit.enable = true;
#services.pipewire = {
#enable = true;
#alsa.enable = true;
#alsa.support32Bit = true;
#pulse.enable = true;
## If you want to use JACK applications, uncomment this
##jack.enable = true;
## use the example session manager (no others are packaged yet so this is enabled by default,
## no need to redefine it in your config for now)
##media-session.enable = true;
#media-session.config.bluez-monitor.rules = [
#{
## Matches all cards
#matches = [ { "device.name" = "~bluez_card.*"; } ];
#actions = {
#"update-props" = {
#"bluez5.reconnect-profiles" = [ "hfp_hf" "hsp_hs" "a2dp_sink" ];
## mSBC is not expected to work on all headset + adapter combinations.
#"bluez5.msbc-support" = true;
## SBC-XQ is not expected to work on all headset + adapter combinations.
#"bluez5.sbc-xq-support" = true;
#};
#};
#}
#{
#matches = [
## Matches all sources
#{ "node.name" = "~bluez_input.*"; }
## Matches all outputs
#{ "node.name" = "~bluez_output.*"; }
#];
#actions = {
#"node.pause-on-idle" = false;
#};
#}
#];
##media-session.config.v4l2-monitor.rules = [
### An array of matches/actions to evaluate.
##{
### Rules for matching a device or node. It is an array of
### properties that all need to match the regexp. If any of the
### matches work, the actions are executed for the object.
##matches = [
##{
### This matches all devices.
##device.name = "~v4l2_device.*";
##}
##];
##actions = {
### Actions can update properties on the matched object.
##update-props = {
###device.nick = "My Device"
##};
##};
##}
##{
##matches = [
##{
### Matches all sources.
##node.name = "~v4l2_input.*";
##}
##{
### Matches all sinks.
##node.name = "~v4l2_output.*";
##}
##];
##actions = {
##update-props = {
###node.nick = "My Node"
###node.nick = null
###priority.driver = 100
###priority.session = 100
##node.pause-on-idle = false;
###session.suspend-timeout-seconds = 5 # 0 disables suspend
##};
##};
##}
##];
#};
#sound.mediaKeys.enable = true;
# 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

@ -227,13 +227,6 @@ mode "resize" {
} }
bindsym $mod+r mode "resize" bindsym $mod+r mode "resize"
# Screenshots
bindsym $mod+c exec grimshot --notify save area
# quick access to mail
bindsym $mod+m exec 'alacritty -e neomutt -f "notmuch://?query=tag:unread"'
bindsym $mod+x exec 'swaylock -f -c 000000ff'
# Volume # Volume
bindsym XF86AudioRaiseVolume exec 'pactl set-sink-volume @DEFAULT_SINK@ +5%' bindsym XF86AudioRaiseVolume exec 'pactl set-sink-volume @DEFAULT_SINK@ +5%'
@ -247,6 +240,19 @@ for_window [title="Extension: (Tree Style Tab).*" app_id="firefox"] floating ena
# those frickin' zoom popups # those frickin' zoom popups
for_window [title="zoom"] floating enable for_window [title="zoom"] floating enable
# custom keybinds
# Screenshots
bindsym $mod+c exec grimshot --notify save area
# quick access to mail
bindsym $mod+m exec 'alacritty -e neomutt -f "notmuch://?query=tag:unread"'
bindsym $mod+x exec 'swaylock -f -c 000000ff'
bindsym $mod+n exec firefox
bindsym $mod+o exec obsidian
# #
# Status Bar: # Status Bar: