aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2020-12-21 12:57:28 +0530
committerAkshay Nair <phenax5@gmail.com>2020-12-21 12:57:28 +0530
commit674974ab5b9413832cb019062717b910953a8b59 (patch)
tree6c8a75a7b65687e2ae648cf5b5ae9310a5f693cd
parentf723472dbea0343646ec436cb07b2377425f06f8 (diff)
downloadnixos-config-674974ab5b9413832cb019062717b910953a8b59.tar.gz
nixos-config-674974ab5b9413832cb019062717b910953a8b59.zip
Minor boot params change
Diffstat (limited to '')
-rw-r--r--configuration.nix2
-rw-r--r--external/zsh/aliases/dev.zsh2
-rw-r--r--hardware-configuration.nix8
3 files changed, 10 insertions, 2 deletions
diff --git a/configuration.nix b/configuration.nix
index 9ec52ab..26ec506 100644
--- a/configuration.nix
+++ b/configuration.nix
@@ -148,6 +148,7 @@ in {
git
nodejs-15_x
yarn
+ python3
# Browser
firefox
@@ -188,6 +189,7 @@ in {
killall
inxi
pciutils
+ udiskie
];
programs.gnupg.agent = {
diff --git a/external/zsh/aliases/dev.zsh b/external/zsh/aliases/dev.zsh
index c02eb20..b7ce579 100644
--- a/external/zsh/aliases/dev.zsh
+++ b/external/zsh/aliases/dev.zsh
@@ -1,6 +1,8 @@
alias aws="docker run --rm -it amazon/aws-cli"
+nrx() { nix-shell -p nodejs-14_x --run "npm run $1"; }
+
# :: Filename Pattern Replacetext
far() {
local file_r="$1"; shift;
diff --git a/hardware-configuration.nix b/hardware-configuration.nix
index 4f35056..9890cc0 100644
--- a/hardware-configuration.nix
+++ b/hardware-configuration.nix
@@ -13,7 +13,7 @@
kernelModules = [ "wl" ];
};
boot.kernelModules = ["kvm-intel" "wl"];
- boot.kernelParams = [ "i8042.nopnp=1" "pci=nocrs" "quiet" "splash" ];
+ boot.kernelParams = [ "i8042.nopnp=1" "pci=nocrs" ];
boot.extraModulePackages = [];
boot.extraModprobeConfig = ''
options snd slots=snd-hda-intel
@@ -27,7 +27,11 @@
# Bootloader
boot.loader = {
- systemd-boot.enable = true;
+ systemd-boot = {
+ enable = true;
+ configurationLimit = 30;
+ };
+ timeout = 1;
efi.canTouchEfiVariables = true;
};