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:
parent
bd6c59ee5b
commit
e0bddc241c
3 changed files with 5 additions and 5 deletions
|
|
@ -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.";
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue