configs: remove alacritty and fix smug eval issue
Both smug and alacritty configs were causing an eval issue with `nix flake check --no-build`. To fix we basically just remove alacritty and the etc entry for smug stuff (which isn't used anyway).
This commit is contained in:
parent
3e4e06c67b
commit
096502a3d3
@ -1,30 +0,0 @@
|
||||
{ pkgs, ... }:
|
||||
let
|
||||
settings = {
|
||||
font = {
|
||||
normal = {
|
||||
family = "Go Mono";
|
||||
};
|
||||
size = 6;
|
||||
};
|
||||
|
||||
colors = {
|
||||
primary = {
|
||||
background = "#ffffea";
|
||||
foreground = "#000000";
|
||||
};
|
||||
};
|
||||
};
|
||||
settingsFormat = pkgs.formats.toml { };
|
||||
settingsFile = settingsFormat.generate "alacritty.toml" settings;
|
||||
in
|
||||
{
|
||||
config = {
|
||||
environment = {
|
||||
etc = {
|
||||
"xdg/alacritty/alacritty.toml".text = builtins.readFile settingsFile;
|
||||
};
|
||||
};
|
||||
fonts = { packages = with pkgs; [ go-font ]; };
|
||||
};
|
||||
}
|
@ -1,6 +1,5 @@
|
||||
{ ... }: {
|
||||
imports = [
|
||||
./alacritty.nix
|
||||
./ca.nix
|
||||
./ci.nix
|
||||
./colemak.nix
|
||||
|
@ -4,14 +4,17 @@ let
|
||||
tmuxFormat = pkgs.formats.yaml { };
|
||||
mkSmugEntry = name: cfg:
|
||||
{
|
||||
environment = {
|
||||
environment =
|
||||
let
|
||||
yamlFile = tmuxFormat.generate "${name}.yml" cfg;
|
||||
startScript = pkgs.writeScriptBin name ''
|
||||
${pkgs.smug}/bin/smug -f ${yamlFile} start
|
||||
'';
|
||||
in
|
||||
{
|
||||
systemPackages = [
|
||||
(pkgs.writeScriptBin name ''
|
||||
${pkgs.smug}/bin/smug -f /etc/smug/${name}.yml start
|
||||
'')
|
||||
startScript
|
||||
];
|
||||
etc."smug/${name}.yml".text = builtins.readFile
|
||||
(tmuxFormat.generate "${name}.yml" cfg);
|
||||
};
|
||||
};
|
||||
in
|
||||
|
Loading…
Reference in New Issue
Block a user