fixing fflof, bat changes, emacs overlay and firefox tridactyl
This commit is contained in:
parent
26a00cee12
commit
c124529a32
11 changed files with 121 additions and 53 deletions
74
README.org
74
README.org
|
@ -204,7 +204,8 @@ kde-cli-tools
|
|||
gzip
|
||||
htop
|
||||
btop
|
||||
firefox
|
||||
brave
|
||||
# firefox
|
||||
kate
|
||||
kdialog
|
||||
openlp
|
||||
|
@ -234,7 +235,7 @@ jellyfin-mpv-shim
|
|||
pfetch
|
||||
macchina
|
||||
gimp
|
||||
scribus
|
||||
powertop
|
||||
#+end_src
|
||||
|
||||
Here are some dev tools that I often have on a few devices.
|
||||
|
@ -247,6 +248,7 @@ gnumake
|
|||
gcc
|
||||
gdb
|
||||
clang
|
||||
clang-tools
|
||||
cmake
|
||||
extra-cmake-modules
|
||||
pkg-config
|
||||
|
@ -266,32 +268,30 @@ Let's create our own custom LightlyShaders package. This is in it's own file for
|
|||
(libsForQt5.callPackage ../../LightlyShaders {})
|
||||
#+end_src
|
||||
|
||||
Firefox has it's own setup
|
||||
#+NAME: firefox
|
||||
#+begin_src nix
|
||||
nixpkgs.config.firefox.enableTridactyl = true;
|
||||
#+end_src
|
||||
|
||||
Here are the two main overlays I like to use. One for Emacs and another for the AwesomeWM.
|
||||
For some reason the emacs overlay has a specific sha256. So I'll create it in each config.
|
||||
#+NAME: overlays
|
||||
#+begin_src nix
|
||||
nixpkgs.overlays = [
|
||||
|
||||
(import (builtins.fetchTarball {
|
||||
url = https://github.com/nix-community/emacs-overlay/archive/master.tar.gz;
|
||||
sha256 = "1rhmvww15mkix7fg8gd7r5hwlszi4zlwzxyr02yfwfsf5hh0n0d9";
|
||||
}))
|
||||
|
||||
(self: super:
|
||||
{
|
||||
myAwesome = super.awesome.overrideAttrs (old: rec {
|
||||
pname = "myAwesome";
|
||||
version = "git-20220508-c539e0e";
|
||||
src = super.fetchFromGitHub {
|
||||
owner = "awesomeWM";
|
||||
repo = "awesome";
|
||||
rev = "c539e0e4350a42f813952fc28dd8490f42d934b3";
|
||||
sha256 = "EDAL7NnLF2BiVI8DAlEciiZtDmwXOzCPypGTrlN/OoQ=";
|
||||
};
|
||||
});
|
||||
}
|
||||
)
|
||||
];
|
||||
(self: super:
|
||||
{
|
||||
myAwesome = super.awesome.overrideAttrs (old: rec {
|
||||
pname = "myAwesome";
|
||||
version = "git-20220508-c539e0e";
|
||||
src = super.fetchFromGitHub {
|
||||
owner = "awesomeWM";
|
||||
repo = "awesome";
|
||||
rev = "c539e0e4350a42f813952fc28dd8490f42d934b3";
|
||||
sha256 = "EDAL7NnLF2BiVI8DAlEciiZtDmwXOzCPypGTrlN/OoQ=";
|
||||
};
|
||||
});
|
||||
}
|
||||
)
|
||||
#+end_src
|
||||
|
||||
*** Emacs
|
||||
|
@ -357,7 +357,7 @@ Notice how I am including all of my software here. It may be a big file, but hav
|
|||
};
|
||||
|
||||
<<desktop>>
|
||||
|
||||
|
||||
# Configure keymap in X11
|
||||
services.xserver.layout = "us";
|
||||
# services.xserver.xkbOptions = "eurosign:e";
|
||||
|
@ -383,6 +383,8 @@ Notice how I am including all of my software here. It may be a big file, but hav
|
|||
CPU_SCALING_GOVERNOR_ON_BAT="powersave";
|
||||
CPU_ENERGY_PERF_POLICY_ON_AC="balance_performance";
|
||||
CPU_ENERGY_PERF_POLICY_ON_BAT="power";
|
||||
PCIE_ASPM_ON_AC="default";
|
||||
PCIE_ASPM_ON_BAT="powersupersave";
|
||||
SCHED_POWERSAVE_ON_AC=0;
|
||||
SCHED_POWERSAVE_ON_BAT=1;
|
||||
START_CHARGE_THRESH_BAT1=70;
|
||||
|
@ -416,6 +418,8 @@ Notice how I am including all of my software here. It may be a big file, but hav
|
|||
|
||||
virtualisation.waydroid.enable = true;
|
||||
|
||||
# <<firefox>>
|
||||
|
||||
# List packages installed in system profile. To search, run:
|
||||
# $ nix search wget
|
||||
environment.systemPackages = with pkgs; [
|
||||
|
@ -433,7 +437,15 @@ Notice how I am including all of my software here. It may be a big file, but hav
|
|||
<<lightlyshaders>>
|
||||
];
|
||||
|
||||
<<overlays>>
|
||||
nixpkgs.overlays = [
|
||||
|
||||
(import (builtins.fetchTarball {
|
||||
url = https://github.com/nix-community/emacs-overlay/archive/master.tar.gz;
|
||||
sha256 = "09rsqmz7i7lyays59b9600z11qqr6h6lcskw1zzp54yw2csxn2ix";
|
||||
}))
|
||||
|
||||
<<overlays>>
|
||||
];
|
||||
|
||||
<<emacs>>
|
||||
|
||||
|
@ -622,7 +634,15 @@ Kaladin is my desktop machine. A powerhouse for the most part with a recent i7 a
|
|||
<<lightlyshaders>>
|
||||
];
|
||||
|
||||
<<overlays>>
|
||||
nixpkgs.overlays = [
|
||||
|
||||
(import (builtins.fetchTarball {
|
||||
url = https://github.com/nix-community/emacs-overlay/archive/master.tar.gz;
|
||||
sha256 = "1rhmvww15mkix7fg8gd7r5hwlszi4zlwzxyr02yfwfsf5hh0n0d9";
|
||||
}))
|
||||
|
||||
<<overlays>>
|
||||
];
|
||||
|
||||
<<emacs>>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue