syntax fixes
This commit is contained in:
@@ -194,7 +194,7 @@
|
|||||||
enable = false;
|
enable = false;
|
||||||
};
|
};
|
||||||
scx = {
|
scx = {
|
||||||
enable = false;
|
enable = true;
|
||||||
scheduler = "scx_lavd";
|
scheduler = "scx_lavd";
|
||||||
flags = "--performance";
|
flags = "--performance";
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -29,10 +29,10 @@ in {
|
|||||||
coreutils
|
coreutils
|
||||||
];
|
];
|
||||||
text = ''
|
text = ''
|
||||||
filename="index-$(uname -m | sed 's/^arm64$/aarch64/')-$(uname | tr A-Z a-z)"
|
filename="index-$(uname -m | sed 's/^arm64$/aarch64/')-$(uname | tr [:upper:] [:lower:])"
|
||||||
mkdir -p ~/.cache/nix-index && cd ~/.cache/nix-index
|
mkdir -p ~/.cache/nix-index && cd ~/.cache/nix-index
|
||||||
wget -q -N https://github.com/nix-community/nix-index-database/releases/latest/download/$filename
|
wget -q -N https://github.com/nix-community/nix-index-database/releases/latest/download/$filename
|
||||||
ln -f $filename files
|
ln -f "$filename" files
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ in {
|
|||||||
};
|
};
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
# scx.rustscheds
|
scx.rustscheds
|
||||||
];
|
];
|
||||||
systemd.services.scx = {
|
systemd.services.scx = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user