Merge branch 'master' of github.com:aciceri/nixfleet

This commit is contained in:
Andrea Ciceri 2022-01-19 14:24:46 +01:00
commit 8c93e5a526
No known key found for this signature in database
GPG key ID: AAFD2423608B645B
15 changed files with 78 additions and 22 deletions

View file

@ -1,8 +1,10 @@
{ pkgs, ... }:
{
home.packages = with pkgs; [
openscad
] ++ (if !stdenv.hostPlatform.isAarch64 then [
blender
freecad
]
else [ ]);
}

View file

@ -11,6 +11,10 @@
package = pkgs.customEmacs;
};
services.emacs = {
enable = true;
};
# For some reason Hunspell dictionaries paths must be specified on Darwin
home.sessionVariables =
if pkgs.stdenv.hostPlatform.isDarwin then {
@ -34,7 +38,6 @@
ag
fd
graphviz-nox
haskell-language-server
hunspell
hunspellDicts.en_US
hunspellDicts.it_IT
@ -58,6 +61,7 @@
)
] ++ (if pkgs.system == "x86_64-linux" then [
python-language-server
haskell-language-server
] ++ (with easy-ps; [
# spago2nix
ffmpegthumbnailer

View file

@ -2,6 +2,7 @@
backup-by-copying t
delete-old-versions 6
kept-old-versions 2
version-control t)
version-control t
create-lockfiles nil)
(provide 'config-emacs)

View file

@ -0,0 +1,5 @@
{ pkgs, ... }: with pkgs; {
home.packages = [ qmk ];
}

View file

@ -57,8 +57,8 @@
'';
in
lib.mkOptionDefault {
"${modifier}+x" = "exec ${pkgs.customEmacs}/bin/emacs";
"${modifier}+b" = "exec ${pkgs.firefox}/bin/firefox";
"${modifier}+x" = "exec emacsclient -c";
"${modifier}+b" = "exec firefox";
"${modifier}+s" = "exec ${screenshotScript}";
};
};

View file

@ -29,8 +29,9 @@
};
home.packages = with pkgs; [
haskell-language-server
stylish-haskell
ghc
];
] ++ (if pkgs.system == "x86_64-linux" then [
haskell-language-server
] else [ ]);
}