Misc tweaks

This commit is contained in:
Ivan Malison 2018-06-14 16:04:36 -07:00
parent f966f44b3c
commit 95eecb6856
No known key found for this signature in database
GPG Key ID: 62530EFBE99DC2F8
6 changed files with 9 additions and 4 deletions

View File

@ -22,7 +22,6 @@
bind "<alt>d" { "delete-from-cursor" (word-ends, 1) };
bind "<alt>BackSpace" { "delete-from-cursor" (word-ends, -1) };
bind "<ctrl>k" { "delete-from-cursor" (paragraph-ends, 1) };
bind "<alt>backslash" { "delete-from-cursor" (whitespace, 1) };
bind "<alt>space" { "delete-from-cursor" (whitespace, 1)
"insert-at-cursor" (" ") };

View File

@ -1,4 +1,5 @@
# emacs
.#*
.emacs.desktop
.emacs*
projectile.cache

View File

@ -3,8 +3,8 @@
# If there are issues with path, check /etc/profile for hard overrides of PATH.
. "$HOME/.lib/login.sh"
# XXX: prevents https://github.com/xmonad/xmonad/issues/86 from affecting startup
rm -f ~/.xmonad
rm -f ~/.xmonad/xmonad.state
load_xkb_map.sh
run_if_exists systemctl --user import-environment XDG_DATA_DIRS

View File

@ -132,6 +132,7 @@ in
# Miscellaneous
android-udev-rules
librsvg
transmission-gtk
];
# Some programs need SUID wrappers, can be configured further or are

View File

@ -9,6 +9,7 @@
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usbhid" "sd_mod" ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
boot.loader.systemd-boot.enable = true;
fileSystems."/" = {
device = "/dev/disk/by-uuid/110e3bf8-19b7-4a39-8e2a-b4c3c0d59d0e";
@ -25,6 +26,11 @@
fsType = "ext4";
};
# fileSystems."/shared" = {
# device = "/dev/disk/by-uuid/4b6f1ca8-6b68-4bdb-b92c-d2d7ba080928";
# fsType = "ntfs";
# };
swapDevices =
[ { device = "/dev/disk/by-uuid/a6933b22-c7f4-4c57-b330-1450f313922e"; }
{ device = "/dev/disk/by-uuid/dbd49a76-4b3e-4b5c-9a88-68a9e61f6210"; }

View File

@ -6,8 +6,6 @@ enable_git_sync () {
systemctl --user enable "$unit_name"
}
unit_name=$(systemd-escape -p "$HOME/.password-store" --template git-sync@.service)
cd "$HOME/.config/systemd/user/"
find * -type f | grep -v git-sync | grep -E "\.service$" | xargs -I unitname sh -c 'echo unitname && systemctl --user enable unitname'