some more things

This commit is contained in:
Anish L 2022-04-11 17:31:29 +10:00
parent 1b21a4aaa7
commit 138e856b67
4 changed files with 19 additions and 14 deletions

View file

@ -7,10 +7,10 @@
# Minimal list of modules to use the EFI system partition and the YubiKey
boot.initrd.kernelModules = [ "vfat" "nls_cp437" "nls_iso8859-1" "usbhid" ];
# Enable support for the YubiKey PBA
boot.initrd.luks.yubikeySupport = true;
# Configuration to use your Luks device
boot.initrd.luks.devices = {
"crypthome" = {
@ -23,9 +23,9 @@
device = "/dev/sda1";
};
};
};
};
};
networking.hostName = "curve"; # Define your hostname.
networking.hostName = "curve";
#networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
time.timeZone = "Australia/Brisbane";
@ -34,7 +34,7 @@
networking.interfaces.enp0s31f6.useDHCP = true;
networking.interfaces.wlp3s0.useDHCP = true;
networking.wireless.enable = true;
networking.wireless.interfaces = ["wlp3s0"];
networking.wireless.interfaces = [ "wlp3s0" ];
networking.wireless.userControlled.enable = true;
# Select internationalisation properties.

View file

@ -2,13 +2,13 @@
{
#imports = [ ./music.nix ]
environment.systemPackages = with pkgs; [
nheko
newsflash
sublime-music
tdesktop
obs-studio
];
#environment.systemPackages = with pkgs; [
# nheko
# newsflash
# sublime-music
# tdesktop
# obs-studio
#];
#environment.systemPackages = with pkgs; [
# lightdm
# dunst

View file

@ -51,8 +51,8 @@ in
{
environment.variables.EDITOR = "nvim";
environment.shellAliases = {
k = "cd ~/vimwiki; vim -c :VimwikiIndex";
kz = "cd ~/vimwiki; vim -c :VimwikiIndex -c :ZettelNew";
k = "cd ~/kitaab/vimwiki; vim -c :VimwikiIndex; cd $OLDPWD";
kz = "cd ~/kitaab/vimwiki; vim -c :VimwikiIndex -c :ZettelNew; cd $OLDPWD";
};
environment.systemPackages = with pkgs // customPlugins; [
nodejs
@ -281,7 +281,11 @@ in
map <leader>zs :ZettelSearch<CR>
map <leader>zo :ZettelOpen<CR>
map <leader>zn :ZettelNew<CR>
map <leader>zd :VimwikiDiary<CR>
map <leader>zf :Telescope oldfiles only_cwd=true<CR>
map <leader>wt :VimwikiMakeTomorrowDiaryNote
map <leader>wd :VimwikiMakeYesterdayDiaryNote
let g:vimwiki_list = [{ 'path': '~/kitaab/vimwiki', 'auto_tags': 1, 'auto_diary_index': 1, 'auto_generate_links': 1 }]
let g:mapleader="\<Space>"
let g:dashboard_default_executive = 'telescope'

View file

@ -65,6 +65,7 @@ in
xclip
xdotool
rofi
obs-studio
lightdm
dunst
libnotify