alacritty: cleanup after 0.13 merge in nixpkgs
This commit is contained in:
parent
7ca7025cf2
commit
068dd4ae29
7 changed files with 21 additions and 41 deletions
|
|
@ -1,7 +1,3 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
with lib;
|
||||
|
||||
{
|
||||
config = {
|
||||
programs.alacritty.enable = true;
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
[[keyboard.bindings]]
|
||||
chars = "\x0c"
|
||||
chars = "\u000c"
|
||||
key = "K"
|
||||
mods = "Control"
|
||||
|
||||
|
|
|
|||
|
|
@ -1,12 +1,10 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
with lib;
|
||||
{ config, ... }:
|
||||
|
||||
{
|
||||
config = {
|
||||
programs.alacritty = {
|
||||
enable = true;
|
||||
package = config.lib.test.mkStubPackage { version = "0.13.0"; };
|
||||
package = config.lib.test.mkStubPackage { };
|
||||
|
||||
settings = {
|
||||
window.dimensions = {
|
||||
|
|
@ -17,7 +15,7 @@ with lib;
|
|||
keyboard.bindings = [{
|
||||
key = "K";
|
||||
mods = "Control";
|
||||
chars = "\\x0c";
|
||||
chars = "\\u000c";
|
||||
}];
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1 +0,0 @@
|
|||
{"font":{"bold":{"family":"SFMono"},"normal":{"family":"SFMono"}},"key_bindings":[{"chars":"\x0c","key":"K","mods":"Control"}],"window":{"dimensions":{"columns":200,"lines":3}}}
|
||||
|
|
@ -1,12 +1,10 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
with lib;
|
||||
{ config, lib, ... }:
|
||||
|
||||
{
|
||||
config = {
|
||||
programs.alacritty = {
|
||||
enable = true;
|
||||
package = config.lib.test.mkStubPackage { version = "0.12.3"; };
|
||||
package = config.lib.test.mkStubPackage { };
|
||||
|
||||
settings = {
|
||||
window.dimensions = {
|
||||
|
|
@ -14,10 +12,10 @@ with lib;
|
|||
columns = 200;
|
||||
};
|
||||
|
||||
key_bindings = [{
|
||||
keyboard.bindings = [{
|
||||
key = "K";
|
||||
mods = "Control";
|
||||
chars = "\\x0c";
|
||||
chars = "\\u000c";
|
||||
}];
|
||||
|
||||
font = let
|
||||
|
|
@ -32,8 +30,8 @@ with lib;
|
|||
|
||||
nmt.script = ''
|
||||
assertFileContent \
|
||||
home-files/.config/alacritty/alacritty.yml \
|
||||
${./settings-merging-expected.yml}
|
||||
home-files/.config/alacritty/alacritty.toml \
|
||||
${./settings-toml-expected.toml}
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
config = {
|
||||
programs.alacritty = {
|
||||
enable = true;
|
||||
package = config.lib.test.mkStubPackage { version = "0.13.0"; };
|
||||
package = config.lib.test.mkStubPackage { };
|
||||
|
||||
settings = {
|
||||
window.dimensions = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue