.xinitrc and home.nix

This commit is contained in:
Magic_RB 2020-12-27 00:55:06 +01:00
parent 72a91deab0
commit 0c8dcd300f
2 changed files with 28 additions and 1 deletions

8
.xinitrc Normal file
View file

@ -0,0 +1,8 @@
#!/usr/bin/env bash
dunst &
picom &
setxkbmap -layout us,sk -variant ,qwerty -option 'grp:lalt_lshift_toggle' -option ctrl:nocaps
export EXWM=1
exec emacs

View file

@ -20,6 +20,7 @@ let
}; };
}; };
emacs = import ./emacs; emacs = import ./emacs;
cura = import ./cura;
in { in {
home.packages = with pkgs; [ home.packages = with pkgs; [
@ -31,10 +32,16 @@ in {
steam steam
rxvt-unicode
zip zip
tree
rename
pixz
xorg.xinit
# svt-av1 # svt-av1
# ffmpeg-svt-av1 # ffmpeg-svt-av1
ffmpeg
fira-code fira-code
@ -53,7 +60,8 @@ in {
rustup rustup
# blender # blender
# openscad freecad
openscad
# libreoffice # libreoffice
discord discord
@ -63,6 +71,7 @@ in {
exa exa
bat bat
(python38Full.withPackages (python-packages: with python-packages; [ jellyfin-apiclient-python ]))
nix-du nix-du
graphviz graphviz
@ -72,6 +81,7 @@ in {
mpv mpv
emacs.defaultPackage."x86_64-linux" emacs.defaultPackage."x86_64-linux"
cura.defaultPackage."x86_64-linux"
]; ];
home.file = { home.file = {
@ -93,6 +103,14 @@ in {
source = "${dotfiles}/.local/bin/screenshot"; source = "${dotfiles}/.local/bin/screenshot";
executable = true; executable = true;
}; };
".local/bin/ogg-cover-art" = {
source = "${dotfiles}/.local/bin/ogg-cover-art";
executable = true;
};
".local/bin/flac-to-ogg" = {
source = "${dotfiles}/.local/bin/flac-to-ogg";
executable = true;
};
".config/picom.conf".source = "${dotfiles}/.config/picom.conf"; ".config/picom.conf".source = "${dotfiles}/.config/picom.conf";
".config/i3/config".text = (import "${dotfiles}/.config/i3/config.nix" { inherit config; inherit pkgs; }).config; ".config/i3/config".text = (import "${dotfiles}/.config/i3/config.nix" { inherit config; inherit pkgs; }).config;
@ -101,5 +119,6 @@ in {
".config/dunst/dunstrc".source = "${dotfiles}/.config/dunst/dunstrc"; ".config/dunst/dunstrc".source = "${dotfiles}/.config/dunst/dunstrc";
".bashrc".source = "${dotfiles}/.bashrc"; ".bashrc".source = "${dotfiles}/.bashrc";
".xinitrc".source = "${dotfiles}/.xinitrc";
}; };
} }