From 138e856b67b6e0a100e38e9413c47a21daa34433 Mon Sep 17 00:00:00 2001 From: Anish L Date: Mon, 11 Apr 2022 17:31:29 +1000 Subject: [PATCH] some more things --- hosts/curve/configuration.nix | 10 +++++----- profiles/desktop/default.nix | 14 +++++++------- profiles/nvim/nvim.nix | 8 ++++++-- users/profiles/desktop/default.nix | 1 + 4 files changed, 19 insertions(+), 14 deletions(-) diff --git a/hosts/curve/configuration.nix b/hosts/curve/configuration.nix index 052d8afd..3947874e 100644 --- a/hosts/curve/configuration.nix +++ b/hosts/curve/configuration.nix @@ -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. diff --git a/profiles/desktop/default.nix b/profiles/desktop/default.nix index 938320f6..4df2d6d4 100644 --- a/profiles/desktop/default.nix +++ b/profiles/desktop/default.nix @@ -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 diff --git a/profiles/nvim/nvim.nix b/profiles/nvim/nvim.nix index 2fc0c8ee..ae3d5991 100644 --- a/profiles/nvim/nvim.nix +++ b/profiles/nvim/nvim.nix @@ -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 zs :ZettelSearch map zo :ZettelOpen map zn :ZettelNew + map zd :VimwikiDiary map zf :Telescope oldfiles only_cwd=true + map wt :VimwikiMakeTomorrowDiaryNote + map wd :VimwikiMakeYesterdayDiaryNote + let g:vimwiki_list = [{ 'path': '~/kitaab/vimwiki', 'auto_tags': 1, 'auto_diary_index': 1, 'auto_generate_links': 1 }] let g:mapleader="\" let g:dashboard_default_executive = 'telescope' diff --git a/users/profiles/desktop/default.nix b/users/profiles/desktop/default.nix index 0f2cefc5..a13877d1 100644 --- a/users/profiles/desktop/default.nix +++ b/users/profiles/desktop/default.nix @@ -65,6 +65,7 @@ in xclip xdotool rofi + obs-studio lightdm dunst libnotify