audio
This commit is contained in:
@@ -31,10 +31,6 @@
|
|||||||
# Activate Flakes.
|
# Activate Flakes.
|
||||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||||
|
|
||||||
# Enable sound.
|
|
||||||
sound.enable = true;
|
|
||||||
hardware.pulseaudio.enable = true;
|
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
# Set XServer Options.
|
# Set XServer Options.
|
||||||
xserver = {
|
xserver = {
|
||||||
@@ -79,15 +75,37 @@
|
|||||||
alacritty
|
alacritty
|
||||||
dmenu
|
dmenu
|
||||||
|
|
||||||
|
acpilight # For setting Backlight.
|
||||||
|
|
||||||
gnome.nautilus
|
gnome.nautilus
|
||||||
lxqt.lxqt-policykit # provides a default authentication client for policykit
|
lxqt.lxqt-policykit # provides a default authentication client for policykit
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# permissions for acpilight
|
||||||
|
services.udev = {
|
||||||
|
enable = true;
|
||||||
|
extraRules = ''
|
||||||
|
SUBSYSTEM=="backlight", ACTION=="add", \
|
||||||
|
RUN+="${pkgs.coreutils-full}/bin/chgrp video /sys/class/backlight/%k/brightness", \
|
||||||
|
RUN+="${pkgs.coreutils-full}/bin/chmod g+w /sys/class/backlight/%k/brightness"
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
||||||
# Enable zsh for setting it as shell for users.
|
# Enable zsh for setting it as shell for users.
|
||||||
programs.zsh.enable = true;
|
programs.zsh.enable = true;
|
||||||
|
|
||||||
|
# Audio
|
||||||
|
# rtkit is optional but recommended
|
||||||
|
security.rtkit.enable = true;
|
||||||
|
services.pipewire = {
|
||||||
|
enable = true;
|
||||||
|
alsa.enable = true;
|
||||||
|
alsa.support32Bit = true;
|
||||||
|
pulse.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
# Set stateVersion. Leave it as set.
|
# Set stateVersion. Leave it as set.
|
||||||
system.stateVersion = "23.11";
|
system.stateVersion = "23.11";
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -17,15 +17,12 @@
|
|||||||
# system tools
|
# system tools
|
||||||
lm_sensors
|
lm_sensors
|
||||||
arandr
|
arandr
|
||||||
|
pavucontrol
|
||||||
|
|
||||||
|
obsidian
|
||||||
|
lean4
|
||||||
|
|
||||||
# noch ned conf
|
|
||||||
#betterbird
|
|
||||||
#bitwarden
|
|
||||||
# dropbox
|
|
||||||
firefox
|
firefox
|
||||||
#signal-desktop
|
|
||||||
#telegram-desktop
|
|
||||||
# zathura
|
|
||||||
];
|
];
|
||||||
|
|
||||||
# environment.shells = [ pkgs.zsh ];
|
# environment.shells = [ pkgs.zsh ];
|
||||||
|
|||||||
@@ -5,5 +5,9 @@
|
|||||||
enable = true;
|
enable = true;
|
||||||
userName = "4Lost";
|
userName = "4Lost";
|
||||||
userEmail = "elias.schroeter@e.email";
|
userEmail = "elias.schroeter@e.email";
|
||||||
|
signing = {
|
||||||
|
key = "0x99D2EF975FE523CC";
|
||||||
|
signByDefault = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,8 +3,8 @@ return {
|
|||||||
"epwalsh/obsidian.nvim",
|
"epwalsh/obsidian.nvim",
|
||||||
lazy = true,
|
lazy = true,
|
||||||
event = {
|
event = {
|
||||||
"BufReadPre home/elias/dropbox/",
|
"BufReadPre /home/elias/Dropbox/IJB/IJB-Notes/*",
|
||||||
"BufNewFile home/elias/dropbox/",
|
"BufNewFile /home/elias/Dropbox/IJB/IJB-Notes/*",
|
||||||
},
|
},
|
||||||
dependencies = {
|
dependencies = {
|
||||||
"nvim-lua/plenary.nvim",
|
"nvim-lua/plenary.nvim",
|
||||||
@@ -17,8 +17,8 @@ return {
|
|||||||
require("obsidian").setup({
|
require("obsidian").setup({
|
||||||
workspaces = {
|
workspaces = {
|
||||||
{
|
{
|
||||||
name = "COe",
|
name = "IJB-Notes",
|
||||||
path = "/run/user/1000/gvfs/smb-share:server=192.168.0.100,share=administration/NetzwerkTeam/wiki",
|
path = "/home/elias/Dropbox/IJB/IJB-Notes",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
home.packages = with pkgs; [ oranchelo-icon-theme nerdfonts pass xclip ];
|
home.packages = with pkgs; [ oranchelo-icon-theme nerdfonts xclip ];
|
||||||
|
|
||||||
xsession.initExtra = "setxkbmap de"; # rofi pass needs this to be set
|
xsession.initExtra = "setxkbmap de"; # rofi pass needs this to be set
|
||||||
|
|
||||||
@@ -29,8 +29,6 @@
|
|||||||
EDITOR='rofi-sensible-terminal -e vim'
|
EDITOR='rofi-sensible-terminal -e vim'
|
||||||
clibpoard_backend=xclip
|
clibpoard_backend=xclip
|
||||||
clip=clipboard
|
clip=clipboard
|
||||||
password_length=32
|
|
||||||
default_user="$\{ROFI_PASS_DEFAULT_USER-$(whoami)\}"
|
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -14,7 +14,6 @@ main = xmonad . ewmhFullscreen . ewmh . xmobarProp $ def
|
|||||||
}
|
}
|
||||||
`additionalKeysP`
|
`additionalKeysP`
|
||||||
[ ("M-p", spawn "rofi -show \"drun\"")
|
[ ("M-p", spawn "rofi -show \"drun\"")
|
||||||
, ("M-S-p", spawn "rofi-pass")
|
|
||||||
, ("M-b", spawn "firefox")
|
, ("M-b", spawn "firefox")
|
||||||
, ("<XF86MonBrightnessUp>", spawn "xbacklight -inc 10")
|
, ("<XF86MonBrightnessUp>", spawn "xbacklight -inc 10")
|
||||||
, ("<XF86MonBrightnessDown>", spawn "xbacklight -dec 10")
|
, ("<XF86MonBrightnessDown>", spawn "xbacklight -dec 10")
|
||||||
|
|||||||
Reference in New Issue
Block a user