fixing sterni 21.05 problems
This commit is contained in:
parent
522b170d0c
commit
8588bf6033
8 changed files with 21 additions and 9 deletions
|
@ -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
|
||||||
# ----------------
|
# ----------------
|
||||||
|
|
|
@ -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
|
||||||
# ----------------
|
# ----------------
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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; [
|
||||||
|
|
|
@ -53,11 +53,13 @@ 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
|
||||||
# ------------------
|
# ------------------
|
||||||
|
|
|
@ -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)
|
||||||
|
|
|
@ -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 = [
|
||||||
|
|
Loading…
Reference in a new issue