summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian T <julian@jtle.dk>2020-10-19 13:05:27 +0200
committerJulian T <julian@jtle.dk>2020-10-19 13:05:27 +0200
commitc701bd92bb5031f9a953fcd8ed01d0167e4d7934 (patch)
treedc12070e9fc739037ce6fec7a83b78e8255ad14e
parent5ae7d6fb04862512ee7740c7f7100752ef428304 (diff)
Turned of sql, and minor slstatus
-rw-r--r--configuration.nix9
-rw-r--r--slstatus.h2
2 files changed, 7 insertions, 4 deletions
diff --git a/configuration.nix b/configuration.nix
index e160a07..a87aacc 100644
--- a/configuration.nix
+++ b/configuration.nix
@@ -21,6 +21,9 @@
};
tmpOnTmpfs = true;
supportedFilesystems = [ "ntfs" ];
+ kernel.sysctl = {
+ "kernel.sysrq"=1;
+ };
};
# Enable sound.
@@ -33,7 +36,7 @@
# Thinkpad stuff
acpilight.enable = true;
- bluetooth.enable = true;
+ bluetooth.enable = false;
pulseaudio = {
enable = true;
@@ -167,7 +170,7 @@
blueman.enable = true;
postgresql = {
- enable = true;
+ enable = false;
initialScript = pkgs.writeText "backend-initScript" ''
CREATE ROLE julian WITH LOGIN PASSWORD 'hejmeddig' CREATEDB;
CREATE DATABASE julian;
@@ -184,7 +187,7 @@
};
virtualisation.docker = {
- enable = true;
+ enable = false;
};
diff --git a/slstatus.h b/slstatus.h
index bd72560..3e18c8f 100644
--- a/slstatus.h
+++ b/slstatus.h
@@ -64,7 +64,7 @@ static const char unknown_str[] = "n/a";
*/
static const struct arg args[] = {
/* function format argument */
- { vol_perc, "[V:%s] ", "/dev/mixer" },
+ { vol_perc, "TIK [V:%s] ", "/dev/mixer" },
{ ram_free, "[F:%s] ", NULL },
{ battery_perc, "[B:%s,", "BAT0" },
{ battery_state, "%s] ", "BAT0" },