Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/master' into HEAD
- Loading branch information
Showing
179 changed files
with
4,549 additions
and
2,104 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ config, lib, pkgs, ... }: | ||
|
||
with lib; | ||
|
||
let cfg = config.programs.criu; | ||
in { | ||
|
||
options = { | ||
programs.criu = { | ||
enable = mkOption { | ||
default = false; | ||
description = '' | ||
Install <command>criu</command> along with necessary kernel options. | ||
''; | ||
}; | ||
}; | ||
}; | ||
config = mkIf cfg.enable { | ||
system.requiredKernelConfig = with config.lib.kernelConfig; [ | ||
(isYes "CHECKPOINT_RESTORE") | ||
]; | ||
boot.kernel.features.criu = true; | ||
environment.systemPackages = [ pkgs.criu ]; | ||
}; | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
{ config, lib, pkgs, ... }: | ||
|
||
with lib; | ||
|
||
let | ||
cfg = config.programs.plotinus; | ||
in | ||
{ | ||
meta = { | ||
maintainers = pkgs.plotinus.meta.maintainers; | ||
doc = ./plotinus.xml; | ||
}; | ||
|
||
###### interface | ||
|
||
options = { | ||
programs.plotinus = { | ||
enable = mkOption { | ||
default = false; | ||
description = '' | ||
Whether to enable the Plotinus GTK+3 plugin. Plotinus provides a | ||
popup (triggered by Ctrl-Shift-P) to search the menus of a | ||
compatible application. | ||
''; | ||
type = types.bool; | ||
}; | ||
}; | ||
}; | ||
|
||
###### implementation | ||
|
||
config = mkIf cfg.enable { | ||
environment.variables.XDG_DATA_DIRS = [ "${pkgs.plotinus}/share/gsettings-schemas/${pkgs.plotinus.name}" ]; | ||
environment.variables.GTK3_MODULES = [ "${pkgs.plotinus}/lib/libplotinus.so" ]; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<chapter xmlns="http://docbook.org/ns/docbook" | ||
xmlns:xlink="http://www.w3.org/1999/xlink" | ||
xmlns:xi="http://www.w3.org/2001/XInclude" | ||
version="5.0" | ||
xml:id="module-program-plotinus"> | ||
|
||
<title>Plotinus</title> | ||
|
||
<para><emphasis>Source:</emphasis> <filename>modules/programs/plotinus.nix</filename></para> | ||
|
||
<para><emphasis>Upstream documentation:</emphasis> <link xlink:href="https://github.com/p-e-w/plotinus"/></para> | ||
|
||
<para>Plotinus is a searchable command palette in every modern GTK+ application.</para> | ||
|
||
<para>When in a GTK+3 application and Plotinus is enabled, you can press <literal>Ctrl+Shift+P</literal> to open the command palette. The command palette provides a searchable list of of all menu items in the application.</para> | ||
|
||
<para>To enable Plotinus, add the following to your <filename>configuration.nix</filename>: | ||
|
||
<programlisting> | ||
programs.plotinus.enable = true; | ||
</programlisting> | ||
|
||
</para> | ||
|
||
</chapter> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ config, lib, pkgs, ... }: | ||
|
||
with lib; | ||
|
||
let cfg = config.programs.systemtap; | ||
in { | ||
|
||
options = { | ||
programs.systemtap = { | ||
enable = mkOption { | ||
default = false; | ||
description = '' | ||
Install <command>systemtap</command> along with necessary kernel options. | ||
''; | ||
}; | ||
}; | ||
}; | ||
config = mkIf cfg.enable { | ||
system.requiredKernelConfig = with config.lib.kernelConfig; [ | ||
(isYes "DEBUG") | ||
]; | ||
boot.kernel.features.debug = true; | ||
environment.systemPackages = [ | ||
config.boot.kernelPackages.systemtap | ||
]; | ||
}; | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -87,4 +87,8 @@ in { | |
"d /var/lib/fwupd 0755 root root -" | ||
]; | ||
}; | ||
|
||
meta = { | ||
maintainers = pkgs.fwupd.maintainers; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.