This commit is contained in:
2025-06-20 01:04:29 -04:00
3 changed files with 31 additions and 4 deletions

View File

@@ -3,7 +3,7 @@ in
{ {
imports = [ imports = [
# Install Apps Detactable by Spotlight # Install Apps Detactable by Spotlight
./app-fix.nix # ./app-fix.nix
# Tiling Window Manager # Tiling Window Manager
./yabai.nix ./yabai.nix
# Shortcuts babe, not Automator # Shortcuts babe, not Automator
@@ -13,6 +13,10 @@ in
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;
# nix.package = pkgs.nixUnstable; # nix.package = pkgs.nixUnstable;
nix.settings.auto-optimise-store = false; nix.settings.auto-optimise-store = false;
nix.settings.trusted-users = [
"root"
"universelaptop"
];
users.users.universelaptop = { users.users.universelaptop = {
name = "universelaptop"; name = "universelaptop";
@@ -55,7 +59,9 @@ in
services.emacs = { services.emacs = {
# Emacsclient behaving weirdly # Emacsclient behaving weirdly
# enable = true; # enable = true;
package = pkgs.me-emacs; package = pkgs.me-emacs.override {
withNativeCompilation = false;
};
}; };
environment.variables = { environment.variables = {
@@ -140,7 +146,10 @@ in
]; ];
environment.systemPackages = (with pkgs; [ environment.systemPackages = (with pkgs; [
me-emacs (me-emacs.override {
withNativeCompilation = false;
})
svgbob
(aspellWithDicts (p: with p;[ (aspellWithDicts (p: with p;[
en en
en-computers en-computers

View File

@@ -0,0 +1,18 @@
(libresprite.overrideAttrs (old: {
src = pkgs.fetchFromGitHub {
owner = "LibreSprite";
repo = "LibreSprite";
rev = "c99d3666b17ff731824e3eccc79cf3ec48564ad5";
fetchSubmodules = true;
sha256 = "sha256-mdMdHQvl6Mt0oisZ4c/Wk6dvklq3Iyz05brbFxSIaj0=";
};
patches = [];
buildInputs = old.buildInputs ++ (with pkgs; [
libarchive
tinyxml-2
]);
postPatch = ''
sed -i -e 's/if(''${CMAKE_SYSTEM_NAME} MATCHES "Darwin")/if(FALSE)/' CMakeLists.txt
'';
meta.broken = false;
}))

View File

@@ -2,7 +2,7 @@
services.skhd = { services.skhd = {
enable = true; enable = true;
skhdConfig = '' skhdConfig = ''
cmd + shift - e : open '${pkgs.me-emacs}/Applications/Emacs.app' cmd + shift - e : open '${(pkgs.me-emacs.override {withNativeCompilation = false;})}/Applications/Emacs.app'
cmd + shift + ctrl - e : kitty -d ~ -1 cmd + shift + ctrl - e : kitty -d ~ -1
''; '';
}; };