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,15 +4,18 @@ let
|
||||
tmuxFormat = pkgs.formats.yaml { };
|
||||
mkSmugEntry = name: cfg:
|
||||
{
|
||||
environment = {
|
||||
systemPackages = [
|
||||
(pkgs.writeScriptBin name ''
|
||||
${pkgs.smug}/bin/smug -f /etc/smug/${name}.yml start
|
||||
'')
|
||||
];
|
||||
etc."smug/${name}.yml".text = builtins.readFile
|
||||
(tmuxFormat.generate "${name}.yml" cfg);
|
||||
};
|
||||
environment =
|
||||
let
|
||||
yamlFile = tmuxFormat.generate "${name}.yml" cfg;
|
||||
startScript = pkgs.writeScriptBin name ''
|
||||
${pkgs.smug}/bin/smug -f ${yamlFile} start
|
||||
'';
|
||||
in
|
||||
{
|
||||
systemPackages = [
|
||||
startScript
|
||||
];
|
||||
};
|
||||
};
|
||||
in
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user