about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--debian/.bashrc2
-rw-r--r--nix/.gtkrc-2.02
-rw-r--r--nix/configuration.nix38
-rw-r--r--ranger/.config/ranger/rc.conf2
4 files changed, 26 insertions, 18 deletions
diff --git a/debian/.bashrc b/debian/.bashrc
index 0c4b253..d53d110 100644
--- a/debian/.bashrc
+++ b/debian/.bashrc
@@ -102,7 +102,7 @@ alias backup='rsync -avh --delete /home/ /data/Home/'
 eval $(thefuck --alias)
 
 function ipfs-cors {
-  ipfs config --json API.HTTPHeaders.Access-Control-Allow-Origin '["http://0.0.0.0:5001", "http://127.0.0.1:5001", "https://webui.ipfs.io"]'
+  ipfs config --json API.HTTPHeaders.Access-Control-Allow-Origin '["http://127.0.0.1:8080", "http://127.0.0.1:5001", "https://webui.ipfs.io"]'
   ipfs config --json API.HTTPHeaders.Access-Control-Allow-Methods '["PUT", "GET", "POST"]'
   systemctl restart --user ipfs
 }
diff --git a/nix/.gtkrc-2.0 b/nix/.gtkrc-2.0
index 8d4f904..7a29cb5 100644
--- a/nix/.gtkrc-2.0
+++ b/nix/.gtkrc-2.0
@@ -1,3 +1,3 @@
 gtk-font-name="Latin Modern Sans 12"
 gtk-key-theme-name="Emacs"
-gtk-modules=appmenu-gtk-module
+gtk-modules=appmenu-gtk-module
\ No newline at end of file
diff --git a/nix/configuration.nix b/nix/configuration.nix
index 5f7e1de..4875642 100644
--- a/nix/configuration.nix
+++ b/nix/configuration.nix
@@ -14,11 +14,13 @@
   boot.loader.systemd-boot.enable = true;
 
   networking.hostName = "nix"; # Define your hostname.
-  # networking.wireless.enable = true;  # Enables wireless support via wpa_supplicant.
+  # Enables wireless support via wpa_supplicant.
+  # networking.wireless.enable = true;
 
-  # The global useDHCP flag is deprecated, therefore explicitly set to false here.
-  # Per-interface useDHCP will be mandatory in the future, so this generated config
-  # replicates the default behaviour.
+  # The global useDHCP flag is deprecated,
+  # therefore explicitly set to false here.
+  # Per-interface useDHCP will be mandatory in the future,
+  # so this generated config replicates the default behaviour.
   networking.useDHCP = false;
   networking.interfaces.enp1s0.useDHCP = true;
   networking.interfaces.wlp2s0.useDHCP = true;
@@ -32,35 +34,41 @@
 
   # Select internationalisation properties.
   i18n = {
-    consoleFont = "Lat2-Terminus16";
-    consoleKeyMap = "us";
     defaultLocale = "en_US.UTF-8";
     inputMethod = {
       enabled = "ibus";
-      ibus.engines = with pkgs.ibus-engines; [ table table-others ];
+      ibus.engines = with pkgs.ibus-engines; [ table table-others
+                                               typing-booster ];
     };
   };
 
+  console = {
+    font = "Lat2-Terminus16";
+    keyMap = "us";
+  };
+
   # Set your time zone.
   time.timeZone = "Asia/Ho_Chi_Minh";
 
   # List packages installed in system profile. To search, run:
   # $ nix search wget
   environment.systemPackages = with pkgs; with kdeApplications; [
-    ack htop mc stow
-    alacritty emacs git nix-prefetch-github
+    ack htop mc stow zip
+    alacritty emacs git nix-prefetch-scripts pkg-config
+    alure2 libogg libsndfile libvorbis openal opusfile
     aria2 curl firefox ipfs thunderbird w3m wget
     ark ktorrent libreoffice okular spectacle
-    audaciousQt5 ffmpeg-full mpv
+    audaciousQt5 ffmpeg-full mpv zbar
+    azimuth duckmarines freedink gweled liquidwar lugaru tbe xonotic
     blender frei0r glfw gmic-qt-krita kdenlive krita simplescreenrecorder
+    cmake gcc gdb man-pages posix_man_pages
     dict dictdDBs.eng2fra dictdDBs.fra2eng dictdDBs.wiktionary dictdDBs.wordnet
     efibootmgr refind
-    gcc gdb man-pages posix_man_pages
-    go guile jdk12 lua octave sbcl
+    go guile jdk12 lua octave rakudo rlwrap sbcl
     lmodern texlive.combined.scheme-full
-    (python38.withPackages(ps: with ps;
-                           [ pip setuptools twine virtualenvwrapper wheel
-                             numpy moderngl pillow pygame ]))
+    (python38.withPackages(ps: with ps; [
+      flake8 pip setuptools tox twine wheel
+      cython numpy moderngl pillow pygame ]))
   ];
 
   # Some programs need SUID wrappers, can be configured further or are
diff --git a/ranger/.config/ranger/rc.conf b/ranger/.config/ranger/rc.conf
index 4e72a60..d0e484c 100644
--- a/ranger/.config/ranger/rc.conf
+++ b/ranger/.config/ranger/rc.conf
@@ -348,7 +348,7 @@ map !  console shell%space
 map @  console -p6 shell  %%s
 map #  console shell -p%space
 map s  console shell%space
-map r  chain draw_possible_programs; console open_with%%space
+map r  chain draw_possible_programs; console open_with%space
 map f  console find%space
 map cd console cd%space