fixing sterni 21.05 problems

This commit is contained in:
Ingolf Wagner 2021-07-08 20:43:14 +02:00
parent 522b170d0c
commit 8588bf6033
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B
8 changed files with 21 additions and 9 deletions

View file

@ -38,7 +38,7 @@
#}; #};
nix.maxJobs = lib.mkDefault 4; nix.maxJobs = lib.mkDefault 4;
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave"; powerManagement.cpuFreqGovernor = lib.mkDefault "ondemand";
# lvm volume group # lvm volume group
# ---------------- # ----------------

View file

@ -25,7 +25,8 @@
}; };
fileSystems."/share" = { fileSystems."/share" = {
device = "/dev/ram1"; #device = "/dev/ram1";
device = "none";
fsType = "tmpfs"; fsType = "tmpfs";
}; };
@ -38,7 +39,7 @@
}; };
nix.maxJobs = lib.mkDefault 4; nix.maxJobs = lib.mkDefault 4;
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave"; powerManagement.cpuFreqGovernor = lib.mkDefault "ondemand";
# lvm volume group # lvm volume group
# ---------------- # ----------------

View file

@ -86,6 +86,14 @@ in {
# because of systemWide ensure main user is in audio group # because of systemWide ensure main user is in audio group
system.custom.mainUser.extraGroups = [ "audio" ]; system.custom.mainUser.extraGroups = [ "audio" ];
#services.pipewire = {
# enable = true;
# alsa.enable = true;
# jack.enable = true;
# media-session.enable = true;
# pulse.enable = true;
#};
hardware.pulseaudio = { hardware.pulseaudio = {
enable = true; enable = true;
package = pkgs.pulseaudioFull; package = pkgs.pulseaudioFull;

View file

@ -14,7 +14,7 @@ in {
hardware.bluetooth = { hardware.bluetooth = {
enable = true; enable = true;
powerOnBoot = true; powerOnBoot = true;
config.General.AutoConnect = true; settings.General.AutoConnect = true;
}; };
services.blueman.enable = true; services.blueman.enable = true;

View file

@ -26,8 +26,9 @@ in {
fonts = { fonts = {
enableFontDir = true; enableDefaultFonts = true;
enableGhostscriptFonts = true; enableGhostscriptFonts = true;
fontDir.enable = true;
fontconfig = { fontconfig = {
dpi = cfg.dpi; dpi = cfg.dpi;
@ -41,7 +42,7 @@ in {
}; };
enable = true; enable = true;
antialias = true; antialias = true;
defaultFonts = { monospace = [ "inconsolata" ]; }; #defaultFonts = { monospace = [ "inconsolata" ]; };
}; };
fonts = with pkgs; [ fonts = with pkgs; [
@ -55,7 +56,7 @@ in {
# symbol fonts # symbol fonts
# ------------ # ------------
#nerdfonts # nerdfonts
powerline-fonts powerline-fonts
font-awesome-ttf font-awesome-ttf
fira-code-symbols fira-code-symbols

View file

@ -53,10 +53,12 @@ in {
# -------------- # --------------
libinput = { libinput = {
enable = true; enable = true;
touchpad = {
disableWhileTyping = true; disableWhileTyping = true;
tapping = true; tapping = true;
scrollMethod = "twofinger"; scrollMethod = "twofinger";
accelSpeed = "2"; accelSpeed = "2";
};
}; };
# Wacom configuraton # Wacom configuraton

View file

@ -519,7 +519,7 @@ myXPConfig =
{ bgColor = Solarized.base03 { bgColor = Solarized.base03
, fgColor = Solarized.base0 , fgColor = Solarized.base0
, promptBorderWidth = 0 , promptBorderWidth = 0
, font = "xft:inconsolata:pixelsize=18:antialias=true:hinting=true" -- , font = "xft:inconsolata:pixelsize=18:antialias=true:hinting=true"
} }
data LibNotifyUrgencyHook = LibNotifyUrgencyHook deriving (Read, Show) data LibNotifyUrgencyHook = LibNotifyUrgencyHook deriving (Read, Show)

View file

@ -3,7 +3,7 @@
services.tor = { services.tor = {
enable = true; enable = true;
client.enable = true; client.enable = true;
hiddenServices.liveos.map = [{ port = 1337; }]; relay.onionServices.liveos.map = [{ port = 1337; }];
}; };
environment.systemPackages = [ environment.systemPackages = [