1
Fork 0
mirror of https://github.com/thegeneralist01/config.git synced 2026-10-09 21:03:30 +02:00

nix: remove deprecated package attributes

This commit is contained in:
TheGeneralist 2026-10-09 14:41:45 +02:00
parent bd6c59ee5b
commit e0bddc241c
Signed by: thegeneralist01
SSH key fingerprint: SHA256:pp9qddbCNmVNoSjevdvQvM5z0DHN7LTa8qBMbcMq/R4
3 changed files with 5 additions and 5 deletions

View file

@ -16,7 +16,7 @@ in {
isServer = mkOption {
type = types.bool;
default = config.nixpkgs.hostPlatform.isAarch64 && config.nixpkgs.hostPlatform.system == "aarch64-linux";
default = config.nixpkgs.hostPlatform.isAarch64 && config.nixpkgs.hostPlatform.isLinux;
description = "Whether the system is a server. Determined by the processor architecture.";
};

View file

@ -1,4 +1,4 @@
{ pkgs, config, ... }: {
{ pkgs, config, ghostty, ... }: {
environment.variables = {
TERMINAL = "ghostty";
};
@ -6,7 +6,7 @@
home-manager.sharedModules = [{
programs.ghostty = {
enable = true;
package = if config.onLinux then pkgs.ghostty else null;
package = if config.onLinux then ghostty.packages.${pkgs.stdenv.hostPlatform.system}.default else null;
clearDefaultKeybinds = false;
settings = {